![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| Pear Pear programming, this is a very complex subject as with using pear with php can be a difficult task for some, so lets talk pear. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| cellog Fri May 25 06:05:54 2007 UTC Modified files: /pearweb/include pear-auth.php Log: remove notices http://cvs.php.net/viewvc.cgi/pearwe...&diff_format=u Index: pearweb/include/pear-auth.php diff -u pearweb/include/pear-auth.php:1.67 pearweb/include/pear-auth.php:1.68 --- pearweb/include/pear-auth.php:1.67 Fri May 25 06:05:06 2007 +++ pearweb/include/pear-auth.php Fri May 25 06:05:54 2007 @@ -15,7 +15,7 @@ +----------------------------------------------------------------------+ | Authors: | +----------------------------------------------------------------------+ - $Id: pear-auth.php,v 1.67 2007/05/25 06:05:06 cellog Exp $ + $Id: pear-auth.php,v 1.68 2007/05/25 06:05:54 cellog Exp $ */ function auth_reject($realm = null, $message = null) @@ -333,12 +333,18 @@ function isAdmin() { + if (!isset($this->handle)) { + return false; + } require_once 'pear-database-user.php'; return (user::isAdmin($this->handle)); } function isQA() { + if (!isset($this->handle)) { + return false; + } require_once 'pear-database-user.php'; return user::isQA($this->handle); } | |||
| Featured Websites | ||||
|
![]() |
| Tags: cvs, include, pearauthphp, pearweb |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cvs: pearweb /include pear-auth.php | Greg Beaver | Pear | 0 | 05-27-2007 7:47 PM |
| cvs: pearweb /include pear-auth.php | Greg Beaver | Pear | 0 | 05-27-2007 7:47 PM |
| cvs: pearweb /include pear-auth.php | Greg Beaver | Pear | 0 | 05-27-2007 7:46 PM |
| cvs: pearweb /include pear-rest.php | Greg Beaver | Pear | 0 | 05-27-2007 7:46 PM |
| cvs: pearweb /include pear-rest.php | Greg Beaver | Pear | 0 | 05-27-2007 7:46 PM |
| Featured Websites | ||||
|