Browse Source

update: fix config save

tokumeikoi 2 years ago
parent
commit
28677f45be
2 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/Admin/ConfigController.php
  2. 0 0
      public/assets/admin/umi.js

+ 1 - 1
app/Http/Controllers/Admin/ConfigController.php

@@ -177,7 +177,7 @@ class ConfigController extends Controller
                 continue;
             }
             if (array_key_exists($k, $data)) {
-                $config[$k] = trim($data[$k]);
+                $config[$k] = $data[$k];
             }
         }
         $data = var_export($config, 1);

File diff suppressed because it is too large
+ 0 - 0
public/assets/admin/umi.js


Some files were not shown because too many files changed in this diff