Beispiel #1
0
 protected function __construct()
 {
     parent::__construct();
     $this->modules_dir = D . '/sys/modules';
     if (!is_dir($this->modules_dir)) {
         mkdir($this->modules_dir);
     }
     $this->back_modules_dir = D . '/sys/back_modules';
     if (!is_dir($this->back_modules_dir)) {
         mkdir($this->back_modules_dir);
     }
 }
Beispiel #2
0
 public function __construct()
 {
     parent::__construct();
     if (isset($_GET['ajax'])) {
         $this->auto_head = false;
         if ($_GET['ajax'] == 'script') {
             $this->ajax = true;
         }
     } elseif (isset($_POST['ajax'])) {
         $this->auto_head = false;
         if ($_POST['ajax'] == 'script') {
             $this->ajax = true;
         }
     }
     $this->set_theme('default');
     $this->menu = Menu::me();
 }
Beispiel #3
0
 protected function __construct()
 {
     parent::__construct();
 }
Beispiel #4
0
 protected function __construct()
 {
     parent::__construct();
     $arr = $this->db->get("SELECT * FROM menu ORDER BY mother,pos;", 60);
     $this->full_array = $arr;
 }
Beispiel #5
0
 protected function __construct()
 {
     parent::__construct();
     $this->dir = D . '/sys/widgets';
 }
Beispiel #6
0
 public function __construct($id = 0)
 {
     parent::__construct();
     $this->arr['id'] = $id;
     $this->arr['group'] = 'guest';
 }
Beispiel #7
0
 public function __construct($args)
 {
     parent::__construct();
     $this->args = $args;
     $this->registry['args'] = $args;
 }