From 92192507805ca5d72290827a1e098e6ecf3a25ab Mon Sep 17 00:00:00 2001 From: tokul Date: Sun, 6 Nov 2005 09:39:50 +0000 Subject: [PATCH] don't list index.php in sound options. issue specific to 1.5.1cvs and 1.4.6cvs git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10269 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- plugins/newmail/newmail_opt.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/newmail/newmail_opt.php b/plugins/newmail/newmail_opt.php index 2a897b9d..5b418c93 100644 --- a/plugins/newmail/newmail_opt.php +++ b/plugins/newmail/newmail_opt.php @@ -142,7 +142,7 @@ if ($newmail_allowsound) { $d = dir(SM_PATH . 'plugins/newmail/sounds'); while($entry=$d->read()) { // $fname = get_location () . '/sounds/' . $entry; - if ($entry != '..' && $entry != '.' && $entry != 'CVS') { + if ($entry != '..' && $entry != '.' && $entry != 'CVS' && $entry != 'index.php') { echo '