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();
 }
Example #2
0
 function __construct()
 {
     $this->is_cli = Server::isCLI();
     parent::__construct();
 }
Example #3
0
 function __construct($isAuthenticationPage = true)
 {
     $this->authenticate = $isAuthenticationPage;
     parent::__construct();
 }