$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/ruizhien/index.php |
QUERY_STRING | s=/javascript: |
REQUEST_METHOD | GET |
CONTENT_TYPE | application/x-www-form-urlencoded; charset=utf-8 |
CONTENT_LENGTH | |
SCRIPT_NAME | /index.php |
REQUEST_URI | /javascript: |
DOCUMENT_URI | /index.php |
DOCUMENT_ROOT | /www/wwwroot/ws/www/ruizhien |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_SCHEME | http |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_SOFTWARE | nginx/1.22.1 |
REMOTE_ADDR | 38.14.212.2 |
REMOTE_PORT | 50628 |
SERVER_ADDR | 172.31.100.25 |
SERVER_PORT | 80 |
SERVER_NAME | www.zqrlw.com |
REDIRECT_STATUS | 200 |
PATH_INFO | |
HTTP_HOST | www.zqrlw.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 NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36 |
HTTP_X_MICROSOFTAJAX | Delta=true |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1732418248.6854 |
REQUEST_TIME | 1732418248 |
QINIU_FUNCTIONS_VERSION | 7.2.9 |