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/'); /**