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 |
HTTP_CF_IPCOUNTRY | US |
HTTP_CDN_LOOP | cloudflare; loops=1 |
HTTP_CF_CONNECTING_IP | 18.97.14.90 |
HTTP_IF_MODIFIED_SINCE | Thu, 07 Nov 2024 07:26:50 GMT |
HTTP_ACCEPT_LANGUAGE | en-US,en;q=0.5 |
HTTP_ACCEPT | text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 |
HTTP_USER_AGENT | CCBot/2.0 (https://commoncrawl.org/faq/) |
HTTP_CF_VISITOR | {"scheme":"https"} |
HTTP_X_FORWARDED_PROTO | https |
HTTP_CF_RAY | 8ed7c2bc8973c9ad-IAD |
HTTP_X_FORWARDED_FOR | 18.97.14.90 |
HTTP_ACCEPT_ENCODING | gzip, br |
HTTP_CONNECTION | Keep-Alive |
HTTP_HOST | webhookauto.com |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | webhookauto.com |
SERVER_PORT | 80 |
SERVER_ADDR | 45.77.5.127 |
REMOTE_PORT | 33648 |
REMOTE_ADDR | 172.68.245.177 |
SERVER_SOFTWARE | nginx/1.22.1 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/webhookauto.com/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | / |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | |
SCRIPT_FILENAME | /www/wwwroot/webhookauto.com/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1733440762.4521 |
REQUEST_TIME | 1733440762 |