songxingwei 3 年之前
父节点
当前提交
053f296142
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      application/admin/controller/Config.php

+ 1 - 1
application/admin/controller/Config.php

@@ -84,7 +84,7 @@ class Config extends Controller
         $post = Request::post();
         $post['integral_share_img'] = $post['logo'];
         unset($post['logo']);
-        foreach (Request::post() as $key => $value) {
+        foreach ($post as $key => $value) {
             sysconf($key, $value);
         }