Ejemplo n.º 1
0
 public function __construct()
 {
     $class = str_replace(CI::$APP->config->item('controller_suffix'), '', get_class($this));
     log_message('debug', $class . " MX_Controller Initialized");
     Modules::$registry[strtolower($class)] = $this;
     /* copy a loader instance and initialize */
     $this->load = clone load_class('Loader');
     $this->load->initialize($this);
     /* autoload module items */
     $this->load->_autoloader($this->autoload);
 }
Ejemplo n.º 2
0
 public function __construct()
 {
     parent::__construct();
     $this->_ci_library_paths = array(APPPATH, STACKCIEXTPATH, BASEPATH);
 }