// 检测跨域路由
$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_HOST | zuoheyou.com |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | zuoheyou.com |
SERVER_PORT | 80 |
SERVER_ADDR | 172.18.94.120 |
REMOTE_PORT | 45736 |
REMOTE_ADDR | 18.212.102.174 |
SERVER_SOFTWARE | nginx/1.21.4 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/zuoheyou.com |
DOCUMENT_URI | /index.php |
REQUEST_URI | /index/news/index.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/index/news/index.html |
SCRIPT_FILENAME | /www/wwwroot/zuoheyou.com/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711679632.2459 |
REQUEST_TIME | 1711679632 |
APP_PATH | /www/wwwroot/zuoheyou.com |
SYSTEM_KEY | WEJ3D11CJxdeXI@! |
TEMPLATE_PATH | template |
PAGE_SIZE | 20 |
SYSTEM_TIME | 1711679632 |