$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 | 192.161.56.224 |
REMOTE_PORT | 54360 |
SERVER_ADDR | 172.31.100.25 |
SERVER_PORT | 80 |
SERVER_NAME | www.yxmwy.com |
REDIRECT_STATUS | 200 |
PATH_INFO | |
HTTP_HOST | www.yxmwy.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 | 1728198700.0202 |
REQUEST_TIME | 1728198700 |
QINIU_FUNCTIONS_VERSION | 7.2.9 |