if ($this->param['auto_search']) {$controller = $this->autoFindController($module, $path);} else {// 解析控制器$controller = !empty($path) ? array_shift($path) : null;}if ($controller && !preg_match('/^[A-Za-z0-9][\w|\.]*$/', $controller)) {throw new HttpException(404, 'controller not exists:' . $controller);}// 解析操作$action = !empty($path) ? array_shift($path) : null;// 解析额外参数if ($path) {if ($this->rule->getConfig('url_param_type')) {$var += $path;
| USER | nobody |
| HOME | / |
| HTTP_X_MICROSOFTAJAX | Delta=true |
| HTTP_USER_AGENT | Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0) |
| HTTP_CONTENT_TYPE | application/x-www-form-urlencoded; charset=utf-8 |
| HTTP_CACHE_CONTROL | no-cache |
| HTTP_ACCEPT_LANGUAGE | en-US,en;q=0.5 |
| HTTP_ACCEPT_ENCODING | gzip, deflate |
| HTTP_ACCEPT | text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 |
| HTTP_X_APPLE_STORE_FRONT | 143444,12 |
| HTTP_X_APPLE_TZ | 0 |
| HTTP_REFERER | https://www.baidu.com/search/spider.htm |
| HTTP_HOST | www.salepang.com |
| REDIRECT_STATUS | 200 |
| SERVER_NAME | www.salepang.com |
| SERVER_PORT | 443 |
| SERVER_ADDR | 10.19.42.43 |
| REMOTE_PORT | 35870 |
| REMOTE_ADDR | 156.254.184.162 |
| SERVER_SOFTWARE | nginx/1.18.0 |
| GATEWAY_INTERFACE | CGI/1.1 |
| HTTPS | on |
| REQUEST_SCHEME | https |
| SERVER_PROTOCOL | HTTP/1.1 |
| DOCUMENT_ROOT | /data/user/htdocs |
| DOCUMENT_URI | /index.php |
| REQUEST_URI | //tel:13966301793 |
| SCRIPT_NAME | /index.php |
| CONTENT_LENGTH | |
| CONTENT_TYPE | application/x-www-form-urlencoded; charset=utf-8 |
| REQUEST_METHOD | GET |
| QUERY_STRING | s=/tel:13966301793 |
| PATH_INFO | |
| SCRIPT_FILENAME | /data/user/htdocs/index.php |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php |
| REQUEST_TIME_FLOAT | 1775313705.7057 |
| REQUEST_TIME | 1775313705 |