summaryrefslogtreecommitdiff
path: root/auth
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2009-07-15 16:56:46 +0000
committerChristian Fowler <spider@viovio.com>2009-07-15 16:56:46 +0000
commita8c6c6eacf0dc1b670d60a830b312e9d0d5ab25c (patch)
treec9f26c7eda1a49882748aebddf52986dc7717d61 /auth
parent37de5106384f32c7613657b1f238575f2e45b8eb (diff)
downloadusers-a8c6c6eacf0dc1b670d60a830b312e9d0d5ab25c.tar.gz
users-a8c6c6eacf0dc1b670d60a830b312e9d0d5ab25c.tar.bz2
users-a8c6c6eacf0dc1b670d60a830b312e9d0d5ab25c.zip
quiet Auth/Auth.php include for system without that pear module installed
Diffstat (limited to 'auth')
-rw-r--r--auth/ldap/auth.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/auth/ldap/auth.php b/auth/ldap/auth.php
index 2380947..387b52e 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.12 2009/04/21 19:03:50 lsces Exp $
+ * $Header: /cvsroot/bitweaver/_bit_users/auth/ldap/auth.php,v 1.13 2009/07/15 16:56:46 spiderr Exp $
*
* @package users
*/
@@ -11,8 +11,7 @@
if (file_exists(UTIL_PKG_PATH."pear/Auth/Auth.php")) {
require_once (UTIL_PKG_PATH."pear/Auth/Auth.php");
} else {
-// THIS may need changing if a different PEAR installation is used
- include_once("Auth/Auth.php");
+ @include_once("Auth/Auth.php");
}
/**
@@ -261,4 +260,4 @@ class LDAPAuth extends BaseAuth {
}
}
-?> \ No newline at end of file
+?>