$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_HOST | www.innotrack.cn |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.innotrack.cn |
SERVER_PORT | 80 |
SERVER_ADDR | 172.26.237.155 |
REMOTE_PORT | 44588 |
REMOTE_ADDR | 34.204.3.195 |
SERVER_SOFTWARE | nginx/1.22.1 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/innotrack.com/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /en/news/article/231/24/5 |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | b6f29ae81c43e17f280cd835348b8013=/en/news/article/231/24/5 |
SCRIPT_FILENAME | /www/wwwroot/innotrack.com/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711627249.5793 |
REQUEST_TIME | 1711627249 |
__ROOT__ | / |
ROOT_TYPE | 1 |
RUNTIME_PATH | runtime |
STATIC_PATH | static |
MOBILE | mobile |
PREFIX | my_ |
APP_PATH | /www/wwwroot/innotrack.com/public/../application/ |
EXTEND | /www/wwwroot/innotrack.com/public/../extend/ |
__PUBLIC__ | /static/ |
__PUBLIC_PHP__ | /www/wwwroot/innotrack.com/public/static/ |
CACHE_PATH | /www/wwwroot/innotrack.com/public/../runtime/ |
GLOBAL_CONFIG | /www/wwwroot/innotrack.com/public/../config/ |
UPLOADS | ./ |