svn: /web/doc/trunk/include/ lib_auth.inc.php
| From: | Hannes Magnusson | Date: | Thu, 24 Mar 2011 11:50:19 +0000 |
| Subject: | svn: /web/doc/trunk/include/ lib_auth.inc.php | ||
| Groups: | php.doc.web | ||
| Request: | Send a blank email to doc-web+get-1973@lists.php.net to get a copy of this message | ||
bjori Thu, 24 Mar 2011 11:50:19 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=309643
Log:
Kill warning in is_admin(), and fix register_globals tainting
Changed paths:
U web/doc/trunk/include/lib_auth.inc.php
Modified: web/doc/trunk/include/lib_auth.inc.php
===================================================================
--- web/doc/trunk/include/lib_auth.inc.php 2011-03-24 11:34:50 UTC (rev 309642)
+++ web/doc/trunk/include/lib_auth.inc.php 2011-03-24 11:50:19 UTC (rev 309643)
@@ -26,6 +26,8 @@
die ('auth DB not available');
}
+$user = null; // Register globals...
+
//list of docweb admins that have 'special' rights
$admins = array(
'didou',