From ffb27f415aa30edf109308d5923ee32bbb266751 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 17 May 2021 17:43:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- System/Runtime.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/System/Runtime.php b/System/Runtime.php index 27196677..9d4f80fa 100644 --- a/System/Runtime.php +++ b/System/Runtime.php @@ -37,7 +37,9 @@ class Runtime extends Command $runtime = storage(static::CACHE_NAME); - Snowflake::writeFile(storage(static::CONFIG_NAME), serialize(sweep())); + $configs = Snowflake::app()->getConfig()->getData(); + + Snowflake::writeFile(storage(static::CONFIG_NAME), serialize($configs)); Snowflake::writeFile($runtime, serialize($annotation->getLoader())); }