Update Config.php

This commit is contained in:
Anyon 2020-11-26 18:47:21 +08:00
parent 6b239035f9
commit d6cf6ea2c0

View File

@ -67,7 +67,7 @@ class Config extends Controller
SystemService::instance()->setRuntime(null, [$xpath => 'admin']);
}
foreach ($this->request->post() as $name => $value) sysconf($name, $value);
sysoplog('系统配置管理', "修改系统参数配置");
sysoplog('系统配置管理', "修改系统参数成功");
$this->success('修改系统参数成功!', sysuri("{$xpath}/index/index") . '#' . url("{$xpath}/config/index"));
}
}
@ -96,7 +96,7 @@ class Config extends Controller
$post['storage']['allow_exts'] = join(',', $exts);
}
foreach ($post as $name => $value) sysconf($name, $value);
sysoplog('系统配置管理', "修改文件存储参数");
sysoplog('系统配置管理', "修改存储参数成功");
$this->success('修改文件存储成功!');
}
}