From e54d64b6d3252e2887cf9d6818632360526a75c3 Mon Sep 17 00:00:00 2001 From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com> Date: Wed, 1 Jan 2020 14:21:48 +0800 Subject: [PATCH] Update functions.php --- functions.php | 1 + 1 file changed, 1 insertion(+) 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; }