/** * Constructor * * @return void */ public function __construct() { parent::__construct(); // check for locked login if (!empty($this->admitted)) { $ip = $this->getRealIpAddr(); if (ROOT == '/' && !in_array($ip, $this->admitted)) { header('Location: ' . $this->site->site->domain); die; } } }
/** * Constructor * * @return void */ public function __construct() { parent::__construct(); }
/** * Constructor * check if user is logged * * @return void */ public function __construct() { parent::__construct(); X4Utils_helper::logged(X4Route_core::get_id_area(), X4Route_core::$area . '/login'); }
/** * Constructor * check if user is logged * * @return void */ public function __construct() { parent::__construct(); X4Utils_helper::logged(3, 'public/home'); }
/** * Constructor * * @return void */ public function __construct() { parent::__construct(); X4Utils_helper::offline($this->site->site->xon, BASE_URL . 'msg/message/offline'); }
/** * Constructor * * @return void */ public function __construct() { parent::__construct(); X4Core_core::auto_load('restler_library'); }
/** * Constructor * Check the site status * * @return void */ public function __construct() { parent::__construct(); X4Utils_helper::offline($this->site->site->xon, ROOT . X4Route_core::$lang . '/offline'); }