Update to core login: password set/lock, start add PDO::Pgsql

The login class and edit interface has added lock/strict login and a
basic layout add for forced change password in X days (not yet
implemented)

Also start adding pdo interface wrapper class for pgsql
This commit is contained in:
Clemens Schwaighofer
2014-12-08 13:18:33 +09:00
parent 8c4527cf4a
commit fa6856eb2a
8 changed files with 411 additions and 13 deletions

View File

@@ -805,10 +805,10 @@
// RETURN host name
// DESCRIPTION
// get the host name without the port as given by the SELF var
public static function get_host_name()
public function get_host_name()
{
list($host_name, $port) = explode(":", $_SERVER['HTTP_HOST']);
$self->host_port = $port;
$this->host_port = $port;
return $host_name;
}