}
// 设置当前请求的参数
$this->request->setRouteVars($var);
// 封装路由
$route = [$module, $controller, $action];
if ($this->hasDefinedRoute($route, $bind)) {
throw new HttpException(404, 'invalid request:' . str_replace('|', $depr, $url));
}
return $route;
}
/**
* 检查URL是否已经定义过路由
* @access protected
* @param string $route 路由信息
USER | jucheng |
HOME | /home/wwwroot/jucheng |
FCGI_ROLE | RESPONDER |
REDIRECT_STATUS | 200 |
proxy-nokeepalive | 1 |
HTTP_X_REAL_IP | 54.225.21.228 |
HTTP_HOST | www.szshute.com |
HTTP_CONNECTION | close |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | claudebot |
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
SERVER_SIGNATURE | |
SERVER_SOFTWARE | Apache |
SERVER_NAME | www.szshute.com |
SERVER_ADDR | 127.0.0.1 |
SERVER_PORT | 80 |
REMOTE_ADDR | 54.225.21.228 |
DOCUMENT_ROOT | /home/wwwroot/jucheng/wwwroot/public |
REQUEST_SCHEME | http |
CONTEXT_PREFIX | |
CONTEXT_DOCUMENT_ROOT | /home/wwwroot/jucheng/wwwroot/public |
SERVER_ADMIN | [no address given] |
SCRIPT_FILENAME | /home/wwwroot/jucheng/wwwroot/public/index.php |
REMOTE_PORT | 38370 |
REDIRECT_URL | /portal/article/index/id/212/cid/16.html |
REDIRECT_QUERY_STRING | s=portal/article/index/id/212/cid/16.html |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/1.0 |
REQUEST_METHOD | GET |
QUERY_STRING | s=portal/article/index/id/212/cid/16.html |
REQUEST_URI | /portal/article/index/id/212/cid/16.html |
SCRIPT_NAME | /index.php |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711689717.6966 |
REQUEST_TIME | 1711689717 |
APP_DEBUG | true |
CMF_ROOT | /home/wwwroot/jucheng/wwwroot/ |
CMF_DATA | /home/wwwroot/jucheng/wwwroot/data/ |
APP_PATH | /home/wwwroot/jucheng/wwwroot/app/ |
WEB_ROOT | /home/wwwroot/jucheng/wwwroot/public/ |
HTMLPURIFIER_PREFIX | /home/wwwroot/jucheng/wwwroot/vendor/ezyang/htmlpurifier/library |