// 检测跨域路由
$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 | zhenzhun |
HOME | /www |
HTTP_HOST | www.word2art.com |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
SCRIPT_FILENAME | /www/tufu/www.word2art.com/public/index.php |
PATH_TRANSLATED | /www/tufu/www.word2art.com/public |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.word2art.com |
SERVER_PORT | 443 |
SERVER_ADDR | 172.22.199.71 |
REMOTE_PORT | 47078 |
REMOTE_ADDR | 3.235.186.149 |
SERVER_SOFTWARE | nginx/1.24.0 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/tufu/www.word2art.com/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /create/shape/21639 |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/create/shape/21639 |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711727790.0165 |
REQUEST_TIME | 1711727790 |
HTMLPURIFIER_PREFIX | /www/tufu/www.word2art.com/vendor/ezyang/htmlpurifier/library |