$available = true;
}
// 模块初始化
if ($module && $available) {
// 初始化模块
$this->request->setModule($module);
$this->app->init($module);
} else {
throw new HttpException(404, 'module not exists:' . $module);
}
}
// 是(shi)否(fu)自动转换(huan)控制(zhi)器和操作(zuo)名
$convert = is_bool($this->convert) ? $this->convert : $this->rule->getConfig('url_convert');
// 获(huo)取控制(zhi)器名
$controller = strip_tags($result[1] ?: $this->rule->getConfig('default_controller'));
$this->controller = $convert ? strtolower($controller) : $controller;
PHPSESSID | a1clst345tgc9ms1qci6med054 |
USER | www |
HOME | /home/www |
HTTP_ACCEPT_CHARSET | utf-8 |
HTTP_COOKIE | PHPSESSID=a1clst345tgc9ms1qci6med054 |
HTTP_REFERER | /v1zkci/newsshow_78.html |
HTTP_ACCEPT_ENCODING | gzip, deflate |
HTTP_ACCEPT | */* |
HTTP_HOST | www.kehaiwg.com |
HTTP_USER_AGENT | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.kehaiwg.com |
SERVER_PORT | 443 |
SERVER_ADDR | 192.168.0.61 |
REMOTE_PORT | 30081 |
REMOTE_ADDR | 198.2.217.162 |
SERVER_SOFTWARE | nginx/1.18.0 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/www.kehaiwg.com/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /v1zkci/newsshow_78.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/v1zkci/newsshow_78.html |
SCRIPT_FILENAME | /www/wwwroot/www.kehaiwg.com/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1727978399.8987 |
REQUEST_TIME | 1727978399 |