Пример #1
0
 public function __construct()
 {
     parent::__construct();
     $this->fallback = isset($this->w2Pconfig['ldap_allow_login']) ? $this->w2Pconfig['ldap_allow_login'] : false;
     $this->ldap_host = $this->w2Pconfig['ldap_host'];
     $this->ldap_port = $this->w2Pconfig['ldap_port'];
     $this->ldap_version = $this->w2Pconfig['ldap_version'];
     $this->base_dn = $this->w2Pconfig['ldap_base_dn'];
     $this->ldap_search_user = $this->w2Pconfig['ldap_search_user'];
     $this->ldap_search_pass = $this->w2Pconfig['ldap_search_pass'];
     $this->filter = $this->w2Pconfig['ldap_user_filter'];
     $this->ldap_complete_string = $this->w2Pconfig['ldap_complete_string'];
 }
Пример #2
0
 public function __construct()
 {
     parent::__construct();
     $this->fallback = isset($w2Pconfig['postnuke_allow_login']) ? $w2Pconfig['postnuke_allow_login'] : false;
     trigger_error("w2p_Authenticators_PostNuke has been deprecated in v3.0 and will be removed by v4.0. There is no replacement as PostNuke is a dead project.", E_USER_NOTICE);
 }