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