Beispiel #1
0
 function __construct()
 {
     parent::__construct();
     $this->load->model('admin/mperiode');
     $this->load->model('risk/risk');
     $this->load->model('risk/mriskregister');
 }
Beispiel #2
0
 public function __construct()
 {
     parent::__construct();
     $uri = str_replace(base_url(), '', current_url());
     if (!$uri) {
         $uri = 'home';
     }
     $headers = $this->Data->SEO($uri);
     if ($headers) {
         unset($headers['id_seo']);
         $headers['head-title'] = $headers['title'];
         $this->data['headers'] = $headers;
     }
 }
Beispiel #3
0
 public function __construct()
 {
     parent::__construct();
     $uri = str_replace(base_url(), '', current_url());
     if (!$uri) {
         $uri = 'home';
     }
     $headers = $this->Data->SEO($uri);
     if ($headers) {
         $headers['head-title'] = $headers['title'];
         if ($headers['file']) {
             $headers['og:image'] = upload($headers['file']);
         }
         $this->data['headers'] = $headers;
     }
 }
Beispiel #4
0
 protected function initialize()
 {
     parent::initialize();
     checkLogin();
 }
Beispiel #5
0
 /**
  * 
  */
 public function __construct()
 {
     parent::__construct();
 }
Beispiel #6
0
 function __construct()
 {
     parent::__construct();
     $this->load->model('risk/risk');
 }