From: tokul Date: Sun, 6 Nov 2005 09:39:50 +0000 (+0000) Subject: don't list index.php in sound options. issue specific to 1.5.1cvs and 1.4.6cvs X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=92192507805ca5d72290827a1e098e6ecf3a25ab;ds=sidebyside 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 --- 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 '