$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=%25E3%2580%2590%25E2%2594%2583%25E7%25A8%25B3%25E5%25AE%259A2%25E2%2592%258F7%25E2%2592%258F01705%25E2%2594%2583%25E6%2589%25A3%25E3%2580%2591%25E3%2580%2591%25E9%2587%258D%25E5%25BA%2586%25E5%258D%258E%25E5%25AE%2587%25E5%2590%258E2 |
REQUEST_METHOD | GET |
CONTENT_TYPE | |
CONTENT_LENGTH | |
SCRIPT_NAME | /en/index.php |
REQUEST_URI | /en/?s=%25E3%2580%2590%25E2%2594%2583%25E7%25A8%25B3%25E5%25AE%259A2%25E2%2592%258F7%25E2%2592%258F01705%25E2%2594%2583%25E6%2589%25A3%25E3%2580%2591%25E3%2580%2591%25E9%2587%258D%25E5%25BA%2586%25E5%258D%258E%25E5%25AE%2587%25E5%2590%258E2 |
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 | 18.205.59.250 |
REMOTE_PORT | 46432 |
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 | 1711712843.5825 |
REQUEST_TIME | 1711712843 |
ROOT_PATH | /data/user/htdocs/en |
APP_PATH | /data/user/htdocs/en/application |
WEB_URL | http://www.huayuhua.com/en/ |