Esempio n. 1
0
 function __construct()
 {
     parent::__construct();
     $this->title($this->page_title);
     $this->load->model('m_shorturl');
 }
 public function __construct()
 {
     parent::__construct();
     $this->accessRules = array('index' => ACCESS_ADMIN + ACCESS_MODER + ACCESS_VIEWER, 'edit' => ACCESS_ADMIN + ACCESS_MODER + ACCESS_VIEWER, 'photo' => ACCESS_ADMIN + ACCESS_MODER + ACCESS_VIEWER, 'add' => ACCESS_ADMIN + ACCESS_MODER, 'info' => ACCESS_ADMIN + ACCESS_MODER);
 }
Esempio n. 3
0
File: admin.php Progetto: sjlu/sns
 function __construct()
 {
     parent::__construct();
     $this->user = $this->require_session();
     $this->load->model(array('keys_model', 'notifications_model', 'devices_model'));
 }
Esempio n. 4
0
 function __construct()
 {
     parent::__construct();
     $this->load->helper('form');
 }
 public function __construct()
 {
     parent::__construct();
     $this->accessRules = array('index' => ACCESS_ADMIN + ACCESS_VIEWER, 'log' => ACCESS_ADMIN + ACCESS_VIEWER, 'notify' => ACCESS_ADMIN, 'history' => ACCESS_ADMIN + ACCESS_VIEWER);
 }
 public function __construct()
 {
     parent::__construct();
     $this->accessRules = array('index' => ACCESS_ADMIN + ACCESS_MODER + ACCESS_VIEWER + ACCESS_GUEST);
 }
 public function __construct()
 {
     parent::__construct();
     $this->accessRules = array('index' => ACCESS_ADMIN, 'updates' => ACCESS_ADMIN);
 }