$available = true;
}
// 模块初始化
if ($module && $available) {
// 初始化模块
$this->request->setModule($module);
$this->app->init($module);
} else {
throw new HttpException(404, 'module not exists:' . $module);
}
}
// 是否自动转换控制器和操作名
$convert = is_bool($this->convert) ? $this->convert : $this->rule->getConfig('url_convert');
// 获取控制器名
$controller = strip_tags($result[1] ?: $this->rule->getConfig('default_controller'));
$this->controller = $convert ? strtolower($controller) : $controller;
USER | www |
HOME | /home/www |
FCGI_ROLE | RESPONDER |
SCRIPT_FILENAME | /www/wwwroot/ws/www/yizhong/index.php |
QUERY_STRING | s=/tel:4000331222 |
REQUEST_METHOD | GET |
CONTENT_TYPE | application/x-www-form-urlencoded; charset=utf-8 |
CONTENT_LENGTH | |
SCRIPT_NAME | /index.php |
REQUEST_URI | /tel:4000331222 |
DOCUMENT_URI | /index.php |
DOCUMENT_ROOT | /www/wwwroot/ws/www/yizhong |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_SCHEME | http |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_SOFTWARE | nginx/1.22.1 |
REMOTE_ADDR | 196.63.148.2 |
REMOTE_PORT | 43770 |
SERVER_ADDR | 172.31.100.25 |
SERVER_PORT | 80 |
SERVER_NAME | www.6fb7.com |
REDIRECT_STATUS | 200 |
PATH_INFO | |
HTTP_HOST | www.6fb7.com |
HTTP_REFERER | https://www.baidu.com/search/spider.htm |
HTTP_X_APPLE_TZ | 0 |
HTTP_X_APPLE_STORE_FRONT | 143444,12 |
HTTP_ACCEPT | text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 |
HTTP_ACCEPT_ENCODING | gzip, deflate |
HTTP_ACCEPT_LANGUAGE | en-US,en;q=0.5 |
HTTP_CACHE_CONTROL | no-cache |
HTTP_CONTENT_TYPE | application/x-www-form-urlencoded; charset=utf-8 |
HTTP_USER_AGENT | Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2) |
HTTP_X_MICROSOFTAJAX | Delta=true |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1732362812.867 |
REQUEST_TIME | 1732362812 |
QINIU_FUNCTIONS_VERSION | 7.2.9 |