}
}
// ???﹁???ㄨ浆?㈡?у?跺?ㄥ????浣???
$convert = is_bool($this->convert) ? $this->convert : $this->rule->getConfig('url_convert');
// ?峰???у?跺?ㄥ??
$controller = strip_tags($result[1] ?: $this->rule->getConfig('default_controller'));
if (!preg_match('/^[A-Za-z](\w|\.)*$/', $controller)) {
throw new HttpException(404, 'controller not exists:' . $controller);
}
$this->controller = $convert ? strtolower($controller) : $controller;
// ?峰????浣???
$this->actionName = strip_tags($result[2] ?: $this->rule->getConfig('default_action'));
// 璁剧疆褰???璇锋????у?跺?ㄣ????浣?
$this->request
PHPSESSID | acfjm89qsl8mvgt00er4e1gm35 |
ASP_NET_SessionId | ecog0cvhzy5ym3w1rxb2nxxx |
USER | www |
HOME | /home/www |
HTTP_COOKIE | PHPSESSID=acfjm89qsl8mvgt00er4e1gm35; ASP.NET_SessionId=ecog0cvhzy5ym3w1rxb2nxxx |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_ACCEPT | */* |
HTTP_HOST | www.whdc.cn |
HTTP_USER_AGENT | Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.whdc.cn |
SERVER_PORT | 80 |
SERVER_ADDR | 172.17.0.4 |
REMOTE_PORT | 38578 |
REMOTE_ADDR | 172.252.209.138 |
SERVER_SOFTWARE | nginx/unknown |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /web/www/whdc.cn/www.whdc.cn/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /info/1072/1165.htm |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/info/1072/1165.htm |
SCRIPT_FILENAME | /web/www/whdc.cn/www.whdc.cn/public/index.php |
PHP_VALUE | open_basedir=/web/www/whdc.cn/www.whdc.cn/public:/tmp/:/web/www/whdc.cn/www.whdc.cn/ |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1611118538.32 |
REQUEST_TIME | 1611118538 |
MAX_MENU_LENGTH | 3 |
MAX_SUB_MENU_LENGTH | 5 |