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_CONNECTION | Keep-Alive |
HTTP_CF_CONNECTING_IP | 98.84.18.52 |
HTTP_CF_IPCOUNTRY | US |
HTTP_CDN_LOOP | cloudflare; loops=1 |
HTTP_CF_VISITOR | {"scheme":"https"} |
HTTP_USER_AGENT | CCBot/2.0 (https://commoncrawl.org/faq/) |
HTTP_ACCEPT | text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 |
HTTP_X_FORWARDED_PROTO | https |
HTTP_IF_MODIFIED_SINCE | Sun, 15 Sep 2024 14:26:09 GMT |
HTTP_ACCEPT_ENCODING | gzip, br |
HTTP_ACCEPT_LANGUAGE | en-US,en;q=0.5 |
HTTP_HOST | webhookauto.com |
HTTP_X_FORWARDED_FOR | 98.84.18.52 |
HTTP_CF_RAY | 8d266864586d3adb-IAD |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | webhookauto.com |
SERVER_PORT | 80 |
SERVER_ADDR | 45.77.5.127 |
REMOTE_PORT | 57390 |
REMOTE_ADDR | 172.70.43.208 |
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 | 1728896727.8574 |
REQUEST_TIME | 1728896727 |