$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/index.php |
PATH_INFO | |
QUERY_STRING | s=/%E5%8D%8E%E6%9D%89%EF%BC%9A%E4%B8%AD%E5%9B%BD%E5%84%92%E5%AE%B6%E6%80%9D%E6%83%B3%EF%BC%8C%E5%8F%AF%E4%BB%A5%E5%88%86%E4%B8%BA%E2%80%9C%E4%BA%94%E4%B8%AA%E5%84%92%E5%AE%B6%E2%80%9D%EF%BC%88%E4%BA%94.html |
REQUEST_METHOD | GET |
CONTENT_TYPE | |
CONTENT_LENGTH | |
SCRIPT_NAME | /index.php |
REQUEST_URI | /%e5%8d%8e%e6%9d%89%ef%bc%9a%e4%b8%ad%e5%9b%bd%e5%84%92%e5%ae%b6%e6%80%9d%e6%83%b3%ef%bc%8c%e5%8f%af%e4%bb%a5%e5%88%86%e4%b8%ba%e2%80%9c%e4%ba%94%e4%b8%aa%e5%84%92%e5%ae%b6%e2%80%9d%ef%bc%88%e4%ba%94.html |
DOCUMENT_URI | /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 | 3.238.226.167 |
REMOTE_PORT | 40702 |
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 | /index.php |
REQUEST_TIME_FLOAT | 1711692178.7718 |
REQUEST_TIME | 1711692178 |
ROOT_PATH | /data/user/htdocs |
APP_PATH | /data/user/htdocs/application |
WEB_URL | http://www.huayuhua.com/ |