Update functions.php

This commit is contained in:
qkqpttgf
2020-01-01 16:41:44 +08:00
committed by GitHub
parent be28d584e3
commit a345eab2a3
+1 -1
View File
@@ -433,7 +433,7 @@ function array_value_isnot_null($arr)
function setConfig($arr)
{
$envs = json_decode(file_get_contents('config.json'));
$envs = json_decode(file_get_contents('config.json'), true);
foreach ($arr as $k1 => $v1) {
$envs[$k1] = $v1;
}