if (false === $result && !empty($this->cross)) {
// 检测跨域路由
$result = $this->cross->check($this->request, $url, $completeMatch);
}
if (false !== $result) {
return $result;
} elseif ($this->config['url_route_must']) {
throw new RouteNotFoundException();
}
return $this->url($url);
}
/**
* 获取当前请求URL的pathinfo信息(不含URL后缀)
* @access protected
* @return string
USER | www |
HOME | /home/www |
SCRIPT_NAME | /index.php |
REQUEST_URI | / |
QUERY_STRING | |
REQUEST_METHOD | GET |
SERVER_PROTOCOL | HTTP/1.1 |
GATEWAY_INTERFACE | CGI/1.1 |
REMOTE_PORT | 48618 |
SCRIPT_FILENAME | /www/wwwroot/tp-catch-admin-vue/public/index.php |
SERVER_ADMIN | webmaster@example.com |
CONTEXT_DOCUMENT_ROOT | /www/wwwroot/tp-catch-admin-vue/public |
CONTEXT_PREFIX | |
REQUEST_SCHEME | http |
DOCUMENT_ROOT | /www/wwwroot/tp-catch-admin-vue/public |
REMOTE_ADDR | 127.0.0.1 |
SERVER_PORT | 80 |
SERVER_ADDR | 127.0.0.1 |
SERVER_NAME | bbs.kacheren.com |
SERVER_SOFTWARE | Apache |
SERVER_SIGNATURE | <address>Apache Server at bbs.kacheren.com Port 80</address> |
LD_LIBRARY_PATH | /www/server/apache/lib |
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin |
HTTP_X_FORWARDED_SERVER | SSL.bbs.kacheren.com |
HTTP_X_FORWARDED_PROTO | http |
HTTP_X_FORWARDED_HOST | bbs.kacheren.com |
HTTP_X_FORWARDED_FOR | 18.217.224.165, 127.0.0.1 |
HTTP_ACCEPT_ENCODING | gzip, br, zstd, deflate |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
HTTP_HOST | bbs.kacheren.com |
proxy-nokeepalive | 1 |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1732165743.5738 |
REQUEST_TIME | 1732165743 |