diff --git a/functions.php b/functions.php index 12f120c..f685f76 100644 --- a/functions.php +++ b/functions.php @@ -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; }