$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 |
FCGI_ROLE | RESPONDER |
SCRIPT_FILENAME | /www/wwwroot/www.cbiec.com/public/index.php |
QUERY_STRING | s=//news-default-type--contry-30-page-12.html |
REQUEST_METHOD | GET |
CONTENT_TYPE | |
CONTENT_LENGTH | |
SCRIPT_NAME | /index.php |
REQUEST_URI | /news-default-type--contry-30-page-12.html |
DOCUMENT_URI | /index.php |
DOCUMENT_ROOT | /www/wwwroot/www.cbiec.com/public |
SERVER_PROTOCOL | HTTP/2.0 |
REQUEST_SCHEME | https |
HTTPS | on |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_SOFTWARE | nginx/1.18.0 |
REMOTE_ADDR | 3.236.57.1 |
REMOTE_PORT | 42684 |
SERVER_ADDR | 172.25.249.98 |
SERVER_PORT | 443 |
SERVER_NAME | www.cbiec.com |
REDIRECT_STATUS | 200 |
PATH_INFO | |
HTTP_HOST | www.cbiec.com |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | claudebot |
HTTP_REFERER | https://www.huashangyimin.com/news-default-type--contry-30-page-12.html |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711715289.5235 |
REQUEST_TIME | 1711715289 |
BIND_MODULE | index |
ADDON_PATH | /www/wwwroot/www.cbiec.com/addons/ |