function __construct() { $IP = Session::IP(); \Radical\DB::Q('INSERT INTO session (session_ip,session_time) VALUES(' . \Radical\DB::E($IP) . ',' . time() . ') ON DUPLICATE KEY UPDATE session_time=' . time()); $this->id = \Radical\DB::insertId(); parent::__construct(); }
function __construct() { $this->is_cli = Server::isCLI(); parent::__construct(); }
function __construct($isAuthenticationPage = true) { $this->authenticate = $isAuthenticationPage; parent::__construct(); }