$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=/%E3%80%90100%E4%B8%87%E5%88%9B%E6%84%8F%E5%A4%A7%E5%A5%96%E2%88%99%E6%A1%88%E4%BE%8B%E8%BF%9E%E8%BD%BD%E3%80%91%E4%B8%8D%E6%98%AF%E5%A5%87%E8%BF%B9%E5%B0%B1%E6%B2%A1%E6%9C%89%E6%84%8F%E4%B9%89.html |
REQUEST_METHOD | GET |
CONTENT_TYPE | |
CONTENT_LENGTH | |
SCRIPT_NAME | /en/index.php |
REQUEST_URI | /en/%e3%80%90100%e4%b8%87%e5%88%9b%e6%84%8f%e5%a4%a7%e5%a5%96%e2%88%99%e6%a1%88%e4%be%8b%e8%bf%9e%e8%bd%bd%e3%80%91%e4%b8%8d%e6%98%af%e5%a5%87%e8%bf%b9%e5%b0%b1%e6%b2%a1%e6%9c%89%e6%84%8f%e4%b9%89.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 | 54.160.245.243 |
REMOTE_PORT | 35090 |
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 | 1711719523.8912 |
REQUEST_TIME | 1711719523 |
ROOT_PATH | /data/user/htdocs/en |
APP_PATH | /data/user/htdocs/en/application |
WEB_URL | http://www.huayuhua.com/en/ |