Exemplo n.º 1
0
 /**
  * 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;
         }
     }
 }
Exemplo n.º 2
0
 /**
  * Constructor
  *
  * @return  void
  */
 public function __construct()
 {
     parent::__construct();
 }
Exemplo n.º 3
0
 /**
  * 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');
 }
Exemplo n.º 4
0
 /**
  * Constructor
  * check if user is logged
  *
  * @return  void
  */
 public function __construct()
 {
     parent::__construct();
     X4Utils_helper::logged(3, 'public/home');
 }
Exemplo n.º 5
0
 /**
  * Constructor
  *
  * @return  void
  */
 public function __construct()
 {
     parent::__construct();
     X4Utils_helper::offline($this->site->site->xon, BASE_URL . 'msg/message/offline');
 }
Exemplo n.º 6
0
 /**
  * Constructor
  *
  * @return  void
  */
 public function __construct()
 {
     parent::__construct();
     X4Core_core::auto_load('restler_library');
 }
Exemplo n.º 7
0
 /**
  * Constructor
  * Check the site status
  *
  * @return  void
  */
 public function __construct()
 {
     parent::__construct();
     X4Utils_helper::offline($this->site->site->xon, ROOT . X4Route_core::$lang . '/offline');
 }