aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/auth/auth_ldap.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-10-05 12:42:06 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-10-05 12:42:06 +0000
commit56b619556354bee7bddc6045c831e8943200d356 (patch)
tree94a370a019844c848dbf45550c561d219c042c3e /phpBB/includes/auth/auth_ldap.php
parent305bea7b9e0ecd71b71265ca7d7d1e8e97cb3010 (diff)
downloadforums-56b619556354bee7bddc6045c831e8943200d356.tar
forums-56b619556354bee7bddc6045c831e8943200d356.tar.gz
forums-56b619556354bee7bddc6045c831e8943200d356.tar.bz2
forums-56b619556354bee7bddc6045c831e8943200d356.tar.xz
forums-56b619556354bee7bddc6045c831e8943200d356.zip
*** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@8142 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/auth/auth_ldap.php')
-rw-r--r--phpBB/includes/auth/auth_ldap.php14
1 files changed, 11 insertions, 3 deletions
diff --git a/phpBB/includes/auth/auth_ldap.php b/phpBB/includes/auth/auth_ldap.php
index c6cdb4f4e4..472927ace3 100644
--- a/phpBB/includes/auth/auth_ldap.php
+++ b/phpBB/includes/auth/auth_ldap.php
@@ -1,5 +1,5 @@
<?php
-/**
+/**
*
* LDAP auth plug-in for phpBB3
*
@@ -7,12 +7,20 @@
*
* @package login
* @version $Id$
-* @copyright (c) 2005 phpBB Group
-* @license http://opensource.org/licenses/gpl-license.php GNU Public License
+* @copyright (c) 2005 phpBB Group
+* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
+* @ignore
+*/
+if (!defined('IN_PHPBB'))
+{
+ exit;
+}
+
+/**
* Connect to ldap server
* Only allow changing authentication to ldap if we can connect to the ldap server
* Called in acp_board while setting authentication plugins