Make this test accept uppercase values, eg as supplied by administrator
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 18 May 2003 11:52:50 +0000 (11:52 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 18 May 2003 11:52:50 +0000 (11:52 +0000)
plugin (fixes #734895).

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4880 7612ce4b-ef26-0410-bec9-ea0150e637f0

config/conf.pl

index ac66f4206bab1f2d77a785eaf36b6edff2ac16de..99bb4c5a9cedbb6b0e76ea3533da036e0e00b765 100755 (executable)
@@ -246,7 +246,7 @@ while ( $line = <FILE> ) {
     }
 }
 close FILE;
-if ( $useSendmail ne "true" ) {
+if ( lc($useSendmail) ne "true" ) {
     $useSendmail = "false";
 }
 if ( !$sendmail_path ) {