public function __construct($userClass = null) { parent::__construct($userClass); $security = Config::get()->security; $this->conn = ldap_connect($security->host, $security->port) or die("The LDAP server couldn't be reached!"); $this->bind = ldap_bind($this->conn) or die("Couldn't initialize the connection to the LDAP server!"); }
public function __construct($userClass) { parent::__construct($userClass); }