// 检测跨域路由
$result = $this->cross->check($this->request, $url, $completeMatch);
}
if (false !== $result) {
// 路由匹配
return $result;
} elseif ($must) {
// 强制路由不匹配则抛出异常
throw new RouteNotFoundException();
}
// 默认路由解析
return new UrlDispatch($this->request, $this->group, $url, [
'auto_search' => $this->autoSearchController,
]);
}
/**
USER | www |
HOME | /home/www |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_HOST | www.52gaokao.com |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.52gaokao.com |
SERVER_PORT | 443 |
SERVER_ADDR | 172.18.118.254 |
REMOTE_PORT | 45178 |
REMOTE_ADDR | 44.193.208.105 |
SERVER_SOFTWARE | nginx/1.18.0 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/2.0 |
DOCUMENT_ROOT | /www/wwwroot/website |
DOCUMENT_URI | /index.php |
REQUEST_URI | /index/Topic/diagnosis |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/index/Topic/diagnosis |
SCRIPT_FILENAME | /www/wwwroot/website/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711723406.2957 |
REQUEST_TIME | 1711723406 |
APP_PATH | /www/wwwroot/website/application/ |
FILTER_VALIDATE_BOOL | 258 |