diff options
| author | Lester Caine <lester@lsces.co.uk> | 2009-04-17 06:23:49 +0000 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2009-04-17 06:23:49 +0000 |
| commit | 53431baffe36c07ca0537228ef6ac77ffb071ce6 (patch) | |
| tree | ca2697e2f3ee347a8780f0490bbcc18681e5f5fc /auth | |
| parent | 9f6998aaa3e777e20e600850a148a06695381ace (diff) | |
| download | users-53431baffe36c07ca0537228ef6ac77ffb071ce6.tar.gz users-53431baffe36c07ca0537228ef6ac77ffb071ce6.tar.bz2 users-53431baffe36c07ca0537228ef6ac77ffb071ce6.zip | |
Path to find PEAR:Auth is installation dependent and this will give an error if PEAR:Auth can not be found!
Diffstat (limited to 'auth')
| -rw-r--r-- | auth/ldap/auth.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/auth/ldap/auth.php b/auth/ldap/auth.php index 47ac450..902469f 100644 --- a/auth/ldap/auth.php +++ b/auth/ldap/auth.php @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_users/auth/ldap/auth.php,v 1.5 2008/07/20 15:03:13 wolff_borg Exp $ + * $Header: /cvsroot/bitweaver/_bit_users/auth/ldap/auth.php,v 1.6 2009/04/17 06:23:49 lsces Exp $ * * @package users */ @@ -11,8 +11,8 @@ if (file_exists(UTIL_PKG_PATH."pear/Auth/Auth.php")) { require_once (UTIL_PKG_PATH."pear/Auth/Auth.php"); } else { -// Giving errors: Fatal error: Cannot redeclare class ldapauth in \bitweaver\users\auth\ldap\Auth.php on line 23 -// include_once("Auth.php"); +// THIS may need changing if a different PEAR installation is used + include_once("Auth/Auth.php"); } /** @@ -77,7 +77,7 @@ class LDAPAuth extends BaseAuth { function isSupported() { $ret = true; - if (! class_exists("Auth")) { + if (!class_exists("Auth")) { $this->mErrors['support']=tra("LDAP Authentication is not supported as PEAR Package Auth is not availible."); $ret = false; } |
