From 8e7832912da16e128e95116c1caeeef913cfa58e Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Sat, 24 Sep 2022 13:39:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Kiri.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Kiri.php b/Kiri.php index e810bd37..3fd1c25d 100644 --- a/Kiri.php +++ b/Kiri.php @@ -26,8 +26,8 @@ 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', realpath(APP_PATH . 'controllers/')); -defined('MODEL_PATH') or define('MODEL_PATH', realpath(APP_PATH . 'models/')); +defined('CONTROLLER_PATH') or define('CONTROLLER_PATH', realpath(APP_PATH . 'app/Controller/')); +defined('MODEL_PATH') or define('MODEL_PATH', realpath(APP_PATH . 'app/Model/')); defined('COMPONENT_PATH') or define('COMPONENT_PATH', realpath(APP_PATH . 'components/')); defined('URL_MATCH') or define('URL_MATCH', '/(http[s]?:\/\/)?((?:[\w\-_]+\.)+\w+(?::\d+)?)(?:(\/[a-zA-Z0-9-\/]+)+[\/]?(\?[a-zA-Z]+=.*)?)?/');