diff --git a/functions.php b/functions.php index 6edb2b0..a9f6649 100644 --- a/functions.php +++ b/functions.php @@ -435,6 +435,7 @@ function array_value_isnot_null($arr) function setConfig($arr) { $envs = json_decode(file_get_contents('config.json')); + if ($envs=='') $envs = []; foreach ($arr as $k1 => $v1) { $evns[$k1] = $v1; }