From 62811200d81780faeeb290088659cc1733fdab10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 22 Sep 2021 18:17:54 +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 --- core/Kiri.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/Kiri.php b/core/Kiri.php index 252a51ea..4c4deb0d 100644 --- a/core/Kiri.php +++ b/core/Kiri.php @@ -26,7 +26,7 @@ use Swoole\WebSocket\Server; defined('DB_ERROR_BUSY') or define('DB_ERROR_BUSY', 'The database is busy. Please try again later.'); defined('SELECT_IS_NULL') or define('SELECT_IS_NULL', 'Query data does not exist, please check the relevant conditions.'); defined('PARAMS_IS_NULL') or define('PARAMS_IS_NULL', 'Required items cannot be empty, please add.'); -defined('CONTROLLER_PATH') or define('CONTROLLER_PATH', APP_PATH . 'app/Http/'); +defined('CONTROLLER_PATH') or define('CONTROLLER_PATH', APP_PATH . 'app/Controllers/'); defined('CRONTAB_PATH') or define('CRONTAB_PATH', APP_PATH . 'app/Crontab/'); defined('CLIENT_PATH') or define('CLIENT_PATH', APP_PATH . 'app/Client/'); defined('TASK_PATH') or define('TASK_PATH', APP_PATH . 'app/Async/'); @@ -34,7 +34,6 @@ defined('LISTENER_PATH') or define('LISTENER_PATH', APP_PATH . 'app/Listener/'); defined('KAFKA_PATH') or define('KAFKA_PATH', APP_PATH . 'app/Kafka/'); defined('RPC_CLIENT_PATH') or define('RPC_CLIENT_PATH', APP_PATH . 'app/Client/Rpc/'); defined('MODEL_PATH') or define('MODEL_PATH', APP_PATH . 'app/Models/'); -defined('SOCKET_PATH') or define('SOCKET_PATH', APP_PATH . 'app/Websocket/'); /**