svn: /web/doc/trunk/include/ lib_auth.inc.php

[email protected] (Hannes Magnusson)
Newsgroups php.doc.web
Message-ID <[email protected]>
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',
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.