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())); }