From 784c3dfaf18f895c1ce378df5bcf30693370c2b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 2 Sep 2020 11:53:27 +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/Application.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/system/Application.php b/system/Application.php index bb2c7461..d6f429cc 100644 --- a/system/Application.php +++ b/system/Application.php @@ -34,13 +34,7 @@ class Application extends BaseApplication */ public function init() { - $application = Snowflake::get(); - - $https = $application->server; - $https->initCore(Config::get('servers', true)); - - $process = $application->processes; - $process->initCore(); + Snowflake::get()->processes->initCore(); }