/**
  * Class constructor.
  */
 public function __construct()
 {
     parent::__construct();
     // Set controller link
     $this->controller_link = strtolower(str_replace('_', '-', $this->controller));
     // Check if ACME Framework is already installed
     if (!$this->acme_installed) {
         redirect('app-installer');
     }
 }
Example #2
0
 /**
  * Class constructor.
  */
 public function __construct()
 {
     parent::__construct();
     // Set language setting
     if ($this->session->userdata('language') == '') {
         $this->session->set_userdata('language', LANGUAGE);
     }
     // Set url_default setting
     if ($this->session->userdata('url_default') == '') {
         $this->session->set_userdata('url_default', 'http://www.acmeframework.org');
     }
 }
 /**
  * Class constructor.
  */
 public function __construct()
 {
     parent::__construct();
 }