diff --git a/application/common/controller/Base.php b/application/common/controller/Base.php index 684bdae9..0761bb2f 100644 --- a/application/common/controller/Base.php +++ b/application/common/controller/Base.php @@ -32,20 +32,20 @@ class Base extends Controller //defined('UPLOAD_PATH') or define('UPLOAD_PATH', 'upload/'); //根据首页的主题,通过cookie传递参数,设置其它页面的主题 - $p = strripos(A,'index'); + /*$p = strripos(A,'index'); if($p !== false){ $N = substr(A,$p+1); //config('template.tpl_replace_string.THEME',$n); cookie('theme',A); }else{ cookie('theme',''); - } + }*/ // 后台公共模板 //$this->assign('_admin_base_layout', config('admin_base_layout')); // 当前配色方案 - $this->assign('system_color', config('site.system_color')); + //$this->assign('system_color', config('site.system_color')); // 输出弹出层参数 - $this->assign('_pop', $this->request->param('_pop')); + //$this->assign('_pop', $this->request->param('_pop')); }