$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;
PHPSESSID | vei0v667d8rsritv99cbvtugh7 |
USER | www |
HOME | /home/www |
HTTP_COOKIE | PHPSESSID=vei0v667d8rsritv99cbvtugh7 |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_ACCEPT | */* |
HTTP_HOST | www.jchgrl.cn |
HTTP_USER_AGENT | Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.204 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.jchgrl.cn |
SERVER_PORT | 80 |
SERVER_ADDR | 60.247.145.89 |
REMOTE_PORT | 41484 |
REMOTE_ADDR | 107.158.245.90 |
SERVER_SOFTWARE | nginx/1.22.1 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/www.jchgrl.cn |
DOCUMENT_URI | /index.php |
REQUEST_URI | /article/item/dtxx/sxyw/202412/t20241203_2069424.shtml |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/article/item/dtxx/sxyw/202412/t20241203_2069424.shtml |
SCRIPT_FILENAME | /www/wwwroot/www.jchgrl.cn/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1734890014.517 |
REQUEST_TIME | 1734890014 |
PUBLIC_PATH | /public/ |
UPLOAD_PATH | /upload/ |
VIEW_PATH | ./template/skin001/wap/html_8768/ |