Source for file pninit.php
Documentation is available at pninit.php
* Zikula Application Framework
* @copyright (c) 2001, Zikula Development Team
* @link http://www.zikula.org
* @version $Id: pninit.php 24342 2008-06-06 12:03:14Z markwest $
* @license GNU/GPL - http://www.gnu.org/copyleft/gpl.html
* @package Zikula_System_Modules
* Initialise the ldap auth module
* This function is only ever called once during the lifetime of a particular
* @author Mike Goldfinger <MikeGoldfinger@linuxmail.org>
* @link http://authldap.ch.vu
* @return bool true on success or false on failure
pnModSetVar('AuthLDAP', 'authldap_serveradr', '127.0.0.1');
pnModSetVar('AuthLDAP', 'authldap_basedn', 'dc=foo,dc=bar');
pnModSetVar('AuthLDAP', 'authldap_searchdn', 'ou=users,dc=foo,dc=bar');
// Initialisation successful
* Upgrade the AuthLDAP module from an old version
* This function can be called multiple times
* @author Mike Goldfinger <MikeGoldfinger@linuxmail.org>
* @link http://authldap.ch.vu
* @return bool true on success or false on failure
* delete the ldap auth module
* This function is only ever called once during the lifetime of a particular
* @author Mike Goldfinger <MikeGoldfinger@linuxmail.org>
* @link http://authldap.ch.vu
* @return bool true on success or false on failure
// Delete module variables
|