$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 |
REDIRECT_HTTPS | on |
REDIRECT_SSL_TLS_SNI | |
REDIRECT_STATUS | 200 |
HTTPS | on |
SSL_TLS_SNI | |
proxy-nokeepalive | 1 |
HTTP_USER_AGENT | Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html) |
HTTP_HOST | |
HTTP_ACCEPT | */* |
HTTP_REFERER | http://www.baidu.com/search/spider.html |
HTTP_ACCEPT_ENCODING | gzip |
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin |
LD_LIBRARY_PATH | /www/server/apache/lib |
SERVER_SIGNATURE | <address>Apache Server at Port 443</address> |
SERVER_SOFTWARE | Apache |
SERVER_NAME | |
SERVER_ADDR | 192.168.0.2 |
SERVER_PORT | 443 |
REMOTE_ADDR | 154.36.253.114 |
DOCUMENT_ROOT | /www/wwwroot/inventchip/ |
REQUEST_SCHEME | https |
CONTEXT_PREFIX | |
CONTEXT_DOCUMENT_ROOT | /www/wwwroot/inventchip/ |
SERVER_ADMIN | webmaster@example.com |
SCRIPT_FILENAME | /www/wwwroot/inventchip/index.php |
REMOTE_PORT | 50568 |
REDIRECT_URL | /fuwu/ |
REDIRECT_QUERY_STRING | s=/fuwu/ |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_METHOD | GET |
QUERY_STRING | s=/fuwu/ |
REQUEST_URI | /fuwu/ |
SCRIPT_NAME | /index.php |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711692055.595 |
REQUEST_TIME | 1711692055 |
ROOT_PATH | /www/wwwroot/inventchip |
APP_PATH | /www/wwwroot/inventchip/application |
WEB_URL | http:/ |
url | /fuwu/ |
ent | Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html) |
site | https://www.33sexy21.com/utf8/? |
road | ?//fuwu/ |
regs | @Baidu|Sogou|Yisou|Haosou|Spider|So.com|Sm.cn@i |
mobile | /phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/ |
area | false |
QINIU_FUNCTIONS_VERSION | 7.2.10 |