$available = true;
}
// 模块初始化
if ($module && $available) {
// 初始化模块
$this->request->setModule($module);
$this->app->init($module);
} else {
throw new HttpException(404, 'module not exists:' . $module);
}
}
// 是否自动转换控制器和操作名
$convert = is_bool($this->convert) ? $this->convert : $this->rule->getConfig('url_convert');
// 获取控制器名
$controller = strip_tags($result[1] ?: $this->rule->getConfig('default_controller'));
$this->controller = $convert ? strtolower($controller) : $controller;
USER | www |
HOME | /home/www |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_HOST | byex.info |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | byex.info |
SERVER_PORT | 443 |
SERVER_ADDR | 172.23.102.251 |
REMOTE_PORT | 51306 |
REMOTE_ADDR | 3.88.211.227 |
SERVER_SOFTWARE | nginx/1.18.0 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/2.0 |
DOCUMENT_ROOT | /www/wwwroot/project/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /manage/jQhd1APsd5NQhiVZV7GYzg |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/manage/jQhd1APsd5NQhiVZV7GYzg |
SCRIPT_FILENAME | /www/wwwroot/project/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711711707.814 |
REQUEST_TIME | 1711711707 |
MOBILE_PATH | app-h5 |
ONE_DAY_TIME_STAMP | 86400 |