$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 | nobody |
HOME | / |
FCGI_ROLE | RESPONDER |
SCRIPT_FILENAME | /data/user/htdocs/en/index.php |
PATH_INFO | |
QUERY_STRING | s=/%25E8%25B6%2585%25E7%25BA%25A7%25E7%25AC%25A6%25E5%258F%25B7%25E6%2589%2593%25E9%2580%25A0%25E8%25B6%2585%25E7%25BA%25A7%25E5%25BA%2597%25E6%258B%259B%25EF%25BC%258C%25E9%2594%2580%25E9%2587%258F%25E7%25AB%258B%25E7%25AB%25BF%25E8%25A7%2581%25E5%25BD%25B1%25E6%258F%2590%25E5%258D%258731-%25E5%258D%258E%25E4%25B8%258E.html |
REQUEST_METHOD | GET |
CONTENT_TYPE | |
CONTENT_LENGTH | |
SCRIPT_NAME | /en/index.php |
REQUEST_URI | /en/%25E8%25B6%2585%25E7%25BA%25A7%25E7%25AC%25A6%25E5%258F%25B7%25E6%2589%2593%25E9%2580%25A0%25E8%25B6%2585%25E7%25BA%25A7%25E5%25BA%2597%25E6%258B%259B%25EF%25BC%258C%25E9%2594%2580%25E9%2587%258F%25E7%25AB%258B%25E7%25AB%25BF%25E8%25A7%2581%25E5%25BD%25B1%25E6%258F%2590%25E5%258D%258731-%25E5%258D%258E%25E4%25B8%258E.html |
DOCUMENT_URI | /en/index.php |
DOCUMENT_ROOT | /data/user/htdocs |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_SCHEME | http |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_SOFTWARE | nginx/1.18.0 |
REMOTE_ADDR | 44.192.132.66 |
REMOTE_PORT | 40676 |
SERVER_ADDR | 10.21.16.184 |
SERVER_PORT | 80 |
SERVER_NAME | wh-nbcavo50cwy7a7a8843.my3w.com |
REDIRECT_STATUS | 200 |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | claudebot |
HTTP_HOST | www.huayuhua.com |
PHP_SELF | /en/index.php |
REQUEST_TIME_FLOAT | 1711663322.5201 |
REQUEST_TIME | 1711663322 |
ROOT_PATH | /data/user/htdocs/en |
APP_PATH | /data/user/htdocs/en/application |
WEB_URL | http://www.huayuhua.com/en/ |