Beispiel #1
0
 /**
  * Admin constructor.
  */
 public function __construct()
 {
     if (Libs_Session::start()->isAdmin()) {
         parent::__construct(true);
     } else {
         if (Libs_URL::get()->checkPath('login', 2)) {
             parent::__construct(true);
         } else {
             die('You not Admin');
         }
     }
 }
Beispiel #2
0
 public function __construct($isAjax = true)
 {
     parent::__construct($isAjax);
     $this->typeModel = new Admin_Models_Type();
 }
Beispiel #3
0
 public function __construct($isAjax)
 {
     parent::__construct($isAjax);
 }
Beispiel #4
0
 public function __construct()
 {
     parent::__construct(true);
 }