update: set config value trim

This commit is contained in:
tokumeikoi 2022-12-15 11:04:19 +08:00
parent ac47a879fa
commit 0a8fe5267f

View File

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