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
REQUEST_METHOD | GET |
REQUEST_URI | /baoyang/20110623_1112.html |
PATH_INFO | /baoyang/20110623_1112.html |
REQUEST_TIME | 1711728087 |
REQUEST_TIME_FLOAT | 1711728087.1643 |
SERVER_PROTOCOL | HTTP/1.1 |
SERVER_PORT | 8325 |
REMOTE_PORT | 45846 |
REMOTE_ADDR | 127.0.0.1 |
MASTER_TIME | 1711728087 |
HTTP_CONNECTION | upgrade |
HTTP_HOST | www.shimenly.cn |
HTTP_X_REAL_IP | 3.239.15.34 |
HTTP_X_FORWARDED_FOR | 3.239.15.34 |
HTTP_REMOTE_HOST | 3.239.15.34 |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | claudebot |
HTTP_REFERER | http://www.shimenly.cn/baoyang/20110623_1112.html |