mirror of https://gitee.com/karson/fastadmin.git
注释掉暂时不用的代码
parent
b6c7dd76df
commit
06f503526c
|
|
@ -32,20 +32,20 @@ class Base extends Controller
|
||||||
//defined('UPLOAD_PATH') or define('UPLOAD_PATH', 'upload/');
|
//defined('UPLOAD_PATH') or define('UPLOAD_PATH', 'upload/');
|
||||||
|
|
||||||
//根据首页的主题,通过cookie传递参数,设置其它页面的主题
|
//根据首页的主题,通过cookie传递参数,设置其它页面的主题
|
||||||
$p = strripos(A,'index');
|
/*$p = strripos(A,'index');
|
||||||
if($p !== false){
|
if($p !== false){
|
||||||
$N = substr(A,$p+1);
|
$N = substr(A,$p+1);
|
||||||
//config('template.tpl_replace_string.THEME',$n);
|
//config('template.tpl_replace_string.THEME',$n);
|
||||||
cookie('theme',A);
|
cookie('theme',A);
|
||||||
}else{
|
}else{
|
||||||
cookie('theme','');
|
cookie('theme','');
|
||||||
}
|
}*/
|
||||||
// 后台公共模板
|
// 后台公共模板
|
||||||
//$this->assign('_admin_base_layout', config('admin_base_layout'));
|
//$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'));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue