From b54710f2a32ed89b0e1ceaaa23f47420b45d2941 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 15 Dec 2020 17:01:24 +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 --- HttpServer/Server.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/HttpServer/Server.php b/HttpServer/Server.php index 88092abf..e2cfd589 100644 --- a/HttpServer/Server.php +++ b/HttpServer/Server.php @@ -207,9 +207,9 @@ class Server extends Application return; } - $attributes = Snowflake::app()->getAttributes(); - $attributes->readControllers(CONTROLLER_PATH, 'App\Http\Controllers', 'controllers'); - $attributes->readControllers(SOCKET_PATH, 'App\Websocket', 'sockets'); +// $attributes = Snowflake::app()->getAttributes(); +// $attributes->readControllers(CONTROLLER_PATH, 'App\Http\Controllers', 'controllers'); +// $attributes->readControllers(SOCKET_PATH, 'App\Websocket', 'sockets'); $processes = Config::get('processes'); if (!empty($processes) && is_array($processes)) {