cvs: pearweb /include pear-auth.php
| From: | Mark Wiesemann | Date: | Sat, 22 Mar 2008 17:24:48 +0000 |
| Subject: | cvs: pearweb /include pear-auth.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-7364@lists.php.net to get a copy of this message | ||
wiesemann Sat Mar 22 17:24:48 2008 UTC
Modified files:
/pearweb/include pear-auth.php
Log:
- really fix Request #10798 (pear-database.php was deleted about one year ago)
# there is another occurence of this inclusion in cron/trackback-cleanup.php
# but the trackback system isn't used anymore
http://cvs.php.net/viewvc.cgi/pearweb/include/pear-auth.php?r1=1.88&r2=1.89&diff_format=u
Index: pearweb/include/pear-auth.php
diff -u pearweb/include/pear-auth.php:1.88 pearweb/include/pear-auth.php:1.89
--- pearweb/include/pear-auth.php:1.88 Sat Feb 9 01:06:00 2008
+++ pearweb/include/pear-auth.php Sat Mar 22 17:24:48 2008
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: |
+----------------------------------------------------------------------+
- $Id: pear-auth.php,v 1.88 2008/02/09 01:06:00 dufuz Exp $
+ $Id: pear-auth.php,v 1.89 2008/03/22 17:24:48 wiesemann Exp $
*/
function auth_reject($realm = null, $message = null)
@@ -235,7 +235,7 @@
if (!empty($auth_user)) {
return true;
}
- require_once 'pear-database.php';
+ require_once 'pear-database-user.php';
$data = user::info($_COOKIE['PEAR_USER'], null, true, false);
$auth_user = new PEAR_Auth();
$auth_user->data($data);