$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;
PHPSESSID | 3mbqh4u83h16a6upn3p38faan0 |
acw_tc | 7b39758317007099641133407ea222dc7b0c02306d0a4b0b6965a5777bc443 |
USER | www |
HOME | /home/www |
HTTP_X_SINFO | on |
HTTP_X5_UUID | 2df08dda7c040d21d1ca7ac24916aa81 |
HTTP_X_REAL_IP | 107.158.145.18 |
HTTP_EAGLEEYE_RPCID | 0.1 |
HTTP_COOKIE | PHPSESSID=3mbqh4u83h16a6upn3p38faan0; acw_tc=7b39758317007099641133407ea222dc7b0c02306d0a4b0b6965a5777bc443 |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_ACCEPT | */* |
HTTP_EAGLEEYE_TRACEID | 2760820117007099652524452ed995 |
HTTP_X_FORWARDED_CLUSTER | waf, |
HTTP_X_FORWARDED_PROTO | https |
HTTP_X_FORWARDED_FOR | 107.158.145.18 |
HTTP_WL_PROXY_CLIENT_IP | 107.158.145.18 |
HTTP_WEB_SERVER_TYPE | nginx |
HTTP_X_CLIENT_IP | 107.158.145.18 |
HTTP_X_TRUE_IP | 107.158.145.18 |
HTTP_USER_AGENT | Mozilla/5.0 (compatible; DotBot/1.2; +https://opensiteexplorer.org/dotbot; help@moz.com) |
HTTP_HOST | www.befar.com |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.befar.com |
SERVER_PORT | 443 |
SERVER_ADDR | 192.168.254.2 |
REMOTE_PORT | 28902 |
REMOTE_ADDR | 39.96.130.1 |
SERVER_SOFTWARE | nginx/1.22.1 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/cn/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /Information/news/27445 |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/Information/news/27445 |
SCRIPT_FILENAME | /www/wwwroot/cn/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1700709965.2822 |
REQUEST_TIME | 1700709965 |
TEMP_HTML_PATH | ./html/ |