예제 #1
0
파일: admin.php 프로젝트: CrazyBobik/4J
 /**
  * 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');
         }
     }
 }
예제 #2
0
파일: type.php 프로젝트: CrazyBobik/4J
 public function __construct($isAjax = true)
 {
     parent::__construct($isAjax);
     $this->typeModel = new Admin_Models_Type();
 }
예제 #3
0
 public function __construct($isAjax)
 {
     parent::__construct($isAjax);
 }
예제 #4
0
파일: modal.php 프로젝트: CrazyBobik/4J
 public function __construct()
 {
     parent::__construct(true);
 }