This commit is contained in:
root 2020-01-04 18:11:13 +08:00
parent b4bb93e23e
commit 7a0c9ce4c4

View File

@ -67,7 +67,7 @@ class ConfigController extends Controller
$array = \Config::get('v2board');
foreach ($data as $k => $v) {
if (!in_array($k, ConfigSave::filter())) {
abort(500, '禁止修改');
abort(500, '参数' . $k . '不在规则内,禁止修改');
}
$array[$k] = $v;
}