$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 | 45.42.87.130 |
REMOTE_PORT | 46544 |
SERVER_ADDR | 172.31.100.25 |
SERVER_PORT | 80 |
SERVER_NAME | www.ntjzt.com |
REDIRECT_STATUS | 200 |
PATH_INFO | |
HTTP_HOST | www.ntjzt.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/5.0 (Windows; U; Windows NT 5.2) Gecko/2008070208 Firefox/3.0.1 |
HTTP_X_MICROSOFTAJAX | Delta=true |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1721900857.961 |
REQUEST_TIME | 1721900857 |
QINIU_FUNCTIONS_VERSION | 7.2.9 |