diff --git a/app/admin/controller/Oplog.php b/app/admin/controller/Oplog.php index ddc68c5f2..8c9d8186f 100644 --- a/app/admin/controller/Oplog.php +++ b/app/admin/controller/Oplog.php @@ -88,6 +88,7 @@ class Oplog extends Controller foreach ($data as $name => $value) { sysconf($name, $value); } + $GLOBALS['oplogs'] = []; $this->success('日志配置成功!'); } }