[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squirrelmail-cvs
Subject:    [SM-CVS] CVS: squirrelmail/plugins/administrator auth.php,1.16,1.17
From:       Tomas Kuliavas <tokul () users ! sourceforge ! net>
Date:       2005-01-27 12:44:22
Message-ID: E1Cu90Y-0007GH-DF () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]

Update of /cvsroot/squirrelmail/squirrelmail/plugins/administrator
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27667

Modified Files:
	auth.php 
Log Message:
fixed incorrect test. $adm_id was getting value of fileowner && function_exists


Index: auth.php
===================================================================
RCS file: /cvsroot/squirrelmail/squirrelmail/plugins/administrator/auth.php,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -w -r1.16 -r1.17
--- auth.php	27 Dec 2004 15:02:14 -0000	1.16
+++ auth.php	27 Jan 2005 12:44:19 -0000	1.17
@@ -36,7 +36,7 @@
     } else if (file_exists(SM_PATH . 'config/admins')) {
         $auths = file(SM_PATH . 'config/admins');
         $auth = in_array("$username\n", $auths);
-    } else if ($adm_id = fileowner(SM_PATH . 'config/config.php') &&
+    } else if (($adm_id = fileowner(SM_PATH . 'config/config.php')) &&
                function_exists('posix_getpwuid')) {
         $adm = posix_getpwuid( $adm_id );
         $auth = ($username == $adm['name']);



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
--
squirrelmail-cvs mailing list
List Address: squirrelmail-cvs@lists.sourceforge.net
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-cvs
http://squirrelmail.org/cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic