* @version $id SVN * @access public * @license http://opensource.org/licenses/gpl-3.0.html */ global $plug; global $l21auth; include_once($plug->getVar('relative_url').'config.php'); include_once($plug->getVar('relative_url').'class.LDAPauth.php'); _debug('[Plugin] $l21auth object overriden by LDAPauth'); // we override previous authentication object $l21auth = new LDAPauth(); if(CURRENT_APP == 'admin' && $GLOBALS['l21auth']->isAuthenticated() && $GLOBALS['l21auth']->isSuperAdmin() ) { // on charge les utilisateurs if(isset($_REQUEST['rub']) && $_REQUEST['rub'] == 'user' && ($_REQUEST['todo'] == 'list' || !isset($_REQUEST['todo'])) ) { include_once($plug->getVar('relative_url').'override/ldapAuth/actions.php'); _ajax_get_ldap_users(); } } ?>