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_HOST | www.91pinpai.com |
HTTP_USER_AGENT | Mozilla/4.0 (compatible; MSIE 9.0; Windows NT 6.1) |
HTTP_REFERER | http://www.baidu.com |
HTTP_ACCEPT_LANGUAGE | zh-CN,zh |
HTTP_ACCEPT_ENCODING | gzip, deflate |
HTTP_ACCEPT | text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 |
HTTP_CONTENT_TYPE | application/x-www-form-urlencoded; Charset=UTF-8 |
HTTP_CONNECTION | Keep-Alive |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | xuezhan.jiutian.vip |
SERVER_PORT | 443 |
SERVER_ADDR | 172.18.242.14 |
REMOTE_PORT | 62820 |
REMOTE_ADDR | 104.247.196.154 |
SERVER_SOFTWARE | nginx/1.24.0 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/xuezhan.jiutian.vip/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /cheneiguajianshougongdiy |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | application/x-www-form-urlencoded; Charset=UTF-8 |
REQUEST_METHOD | GET |
QUERY_STRING | s=/cheneiguajianshougongdiy |
SCRIPT_FILENAME | /www/wwwroot/xuezhan.jiutian.vip/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1733169487.8654 |
REQUEST_TIME | 1733169487 |