$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 | www |
HOME | /home/www |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_HOST | www.hao363.com |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.hao363.com |
SERVER_PORT | 443 |
SERVER_ADDR | 45.251.241.126 |
REMOTE_PORT | 29704 |
REMOTE_ADDR | 3.14.70.203 |
SERVER_SOFTWARE | nginx/1.21.4 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/2.0 |
DOCUMENT_ROOT | /www/wwwroot/www.hao363.com/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /%e3%80%90%e5%88%86%e4%ba%ab%e3%80%91%e8%85%be%e8%ae%af%e9%87%91%e7%89%8c%e7%bd%91%e5%90%a7%e4%bb%a3%e7%90%86%ef%bc%88%e8%85%be%e8%ae%af%e7%bd%91%e5%92%96%e5%8a%a0%e7%9b%9f%ef%bc%89-363%e8%bd%af/ |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/%E3%80%90%E5%88%86%E4%BA%AB%E3%80%91%E8%85%BE%E8%AE%AF%E9%87%91%E7%89%8C%E7%BD%91%E5%90%A7%E4%BB%A3%E7%90%86%EF%BC%88%E8%85%BE%E8%AE%AF%E7%BD%91%E5%92%96%E5%8A%A0%E7%9B%9F%EF%BC%89-363%E8%BD%AF/ |
SCRIPT_FILENAME | /www/wwwroot/www.hao363.com/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1713457945.3311 |
REQUEST_TIME | 1713457945 |