Ejemplo n.º 1
0
 public function __construct()
 {
     $this->_options['ci'] = $this->ci =& get_instance();
     $this->theme = APP::get_namespace_id() == 'admin' ? false : true;
     if (APP_DIR && is_dir(FCPATH . 'plugins/' . APP_DIR . '/') && $this->ci->controller == 'admin') {
         // 表示插件的后台
         $this->theme = false;
     }
 }
Ejemplo n.º 2
0
 public function __construct()
 {
     $this->_options['ci'] = $this->ci =& get_instance();
     $this->theme = APP::get_namespace_id() == 'admin' ? false : true;
 }