$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=/%E5%8D%8E%E4%B8%8E%E5%8D%8E%E7%AC%AC4%E6%9C%9F5s%E7%AE%A1%E7%90%86%E8%AE%BF%E6%97%A5%E7%A0%94%E4%BF%AE%E5%9B%A2%E5%AD%A6%E4%B9%A0%E7%B2%BE%E5%BD%A9%E5%86%85%E5%AE%B9%E5%9B%9E%E9%A1%BE.html |
REQUEST_METHOD | GET |
CONTENT_TYPE | |
CONTENT_LENGTH | |
SCRIPT_NAME | /en/index.php |
REQUEST_URI | /en/%e5%8d%8e%e4%b8%8e%e5%8d%8e%e7%ac%ac4%e6%9c%9f5s%e7%ae%a1%e7%90%86%e8%ae%bf%e6%97%a5%e7%a0%94%e4%bf%ae%e5%9b%a2%e5%ad%a6%e4%b9%a0%e7%b2%be%e5%bd%a9%e5%86%85%e5%ae%b9%e5%9b%9e%e9%a1%be.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 | 52.91.84.219 |
REMOTE_PORT | 35176 |
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 | 1711624403.3351 |
REQUEST_TIME | 1711624403 |
ROOT_PATH | /data/user/htdocs/en |
APP_PATH | /data/user/htdocs/en/application |
WEB_URL | http://www.huayuhua.com/en/ |