Commit 348cac00 authored by wuxiaoli's avatar wuxiaoli

修复后端系统配置

parent 827181d3
......@@ -170,7 +170,7 @@ class Config extends Admin
$config = ConfigModel::where('id', $id)->find();
$details = '原数据:分组('.$config['group'].')、类型('.$config['type'].')、标题('.$config['title'].')、名称('.$config['name'].')';
if ($config == ConfigModel::update($data)) {
if (ConfigModel::update($data)) {
cache('system_config', null);
$forward = $this->request->param('_pop') == 1 ? null : cookie('__forward__');
// 记录行为
......
......@@ -54,7 +54,7 @@ return [
// +----------------------------------------------------------------------
// 应用调试模式
'app_debug' => ture,
'app_debug' => true,
// 应用Trace
'app_trace' => false,
// 应用模式状态
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment