$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_X_SINFO | on |
HTTP_X5_UUID | 9cb1033eb4b0d9af33415e190d5ccc5b |
HTTP_WL_PROXY_CLIENT_IP | 18.206.76.45 |
HTTP_WEB_SERVER_TYPE | nginx |
HTTP_X_CLIENT_IP | 18.206.76.45 |
HTTP_X_TRUE_IP | 18.206.76.45 |
HTTP_X_FORWARDED_PROTO | http |
HTTP_EAGLEEYE_RPCID | 0.1 |
HTTP_ACCEPT | */* |
HTTP_EAGLEEYE_TRACEID | 0bca392e17116996977016201ea34b |
HTTP_USER_AGENT | claudebot |
HTTP_CONNECTION | close |
HTTP_REMOTE_HOST | 18.206.76.45 |
HTTP_X_FORWARDED_FOR | 18.206.76.45, 18.206.76.45 |
HTTP_X_REAL_IP | 18.206.76.45 |
HTTP_HOST | www.cococ.com |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | localhost |
SERVER_PORT | 20080 |
SERVER_ADDR | 117.50.122.202 |
REMOTE_PORT | 38820 |
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 | /song/c1/31967.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=song/c1/31967.html |
SCRIPT_FILENAME | /data500/wwwroot/jinsan_template/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711699693.2886 |
REQUEST_TIME | 1711699693 |
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 |