if ($this->param['auto_search']) {
$controller = $this->autoFindController($module, $path);
} else {
// 解析控制器
$controller = !empty($path) ? array_shift($path) : null;
}
if ($controller && !preg_match('/^[A-Za-z][\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;
TEMP | /tmp |
TMPDIR | /tmp |
TMP | /tmp |
PATH | /usr/local/bin:/usr/bin:/bin |
USER | www |
HOME | /home/www |
HTTP_REFERER | http://www.cnfzflw.com/honest_trade/201806253739.html |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_HOST | www.cnfzflw.com |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.cnfzflw.com |
SERVER_PORT | 443 |
SERVER_ADDR | 172.26.195.76 |
REMOTE_PORT | 52542 |
REMOTE_ADDR | 100.26.1.130 |
SERVER_SOFTWARE | nginx/1.18.0 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/2.0 |
DOCUMENT_ROOT | /data/wwwroot/cnfzflw/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /honest_trade/201806253739.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/honest_trade/201806253739.html |
SCRIPT_FILENAME | /data/wwwroot/cnfzflw/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711723336.3567 |
REQUEST_TIME | 1711723336 |
QINIU_FUNCTIONS_VERSION | 7.2.7 |