$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_REFERER | http://www.sd4.cn/news/966671.html |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_CONNECTION | close |
HTTP_REMOTE_HOST | 44.200.40.97 |
HTTP_X_FORWARDED_FOR | 44.200.40.97 |
HTTP_X_REAL_IP | 44.200.40.97 |
HTTP_HOST | www.sd4.cn |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | localhost |
SERVER_PORT | 20080 |
SERVER_ADDR | 117.50.122.202 |
REMOTE_PORT | 44568 |
REMOTE_ADDR | 47.106.169.198 |
SERVER_SOFTWARE | nginx/1.19.9 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /data500/wwwroot/jinsan_template/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /news/966671.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=news/966671.html |
SCRIPT_FILENAME | /data500/wwwroot/jinsan_template/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711666069.7217 |
REQUEST_TIME | 1711666069 |
APP_ROOT | /data500/wwwroot/jinsan_template |
XS_APP_ROOT | /data500/wwwroot/jinsan_template/config/xunsearch |
FILTER_VALIDATE_BOOL | 258 |
HTMLPURIFIER_PREFIX | /data500/wwwroot/jinsan_template/vendor/ezyang/htmlpurifier/library |