function __construct() { parent::__construct(); $this->load->model('admin/mperiode'); $this->load->model('risk/risk'); $this->load->model('risk/mriskregister'); }
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; } }
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; } }
protected function initialize() { parent::initialize(); checkLogin(); }
/** * */ public function __construct() { parent::__construct(); }
function __construct() { parent::__construct(); $this->load->model('risk/risk'); }