mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
update: set config value trim
This commit is contained in:
parent
ac47a879fa
commit
0a8fe5267f
@ -177,7 +177,7 @@ class ConfigController extends Controller
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (array_key_exists($k, $data)) {
|
if (array_key_exists($k, $data)) {
|
||||||
$config[$k] = $data[$k];
|
$config[$k] = trim($data[$k]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$data = var_export($config, 1);
|
$data = var_export($config, 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user