$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 | 7k7uk0aooa4c0baec6rb01uka6 |
USER | www |
HOME | /home/www |
FCGI_ROLE | RESPONDER |
SCRIPT_FILENAME | /www/wwwroot/ws/www/xinlingshou/index.php |
QUERY_STRING | s=/www.goooode.com |
REQUEST_METHOD | GET |
CONTENT_TYPE | |
CONTENT_LENGTH | |
SCRIPT_NAME | /index.php |
REQUEST_URI | /www.goooode.com |
DOCUMENT_URI | /index.php |
DOCUMENT_ROOT | /www/wwwroot/ws/www/xinlingshou |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_SCHEME | http |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_SOFTWARE | nginx/1.22.1 |
REMOTE_ADDR | 170.130.202.122 |
REMOTE_PORT | 40478 |
SERVER_ADDR | 172.31.100.25 |
SERVER_PORT | 80 |
SERVER_NAME | www.xinlingshoulm.com |
REDIRECT_STATUS | 200 |
PATH_INFO | |
HTTP_USER_AGENT | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko; compatible; BW/1.2; rb.gy/oupwis) Chrome/124.0.0.0 Safari/537.36 |
HTTP_HOST | www.xinlingshoulm.com |
HTTP_ACCEPT | */* |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_COOKIE | PHPSESSID=7k7uk0aooa4c0baec6rb01uka6 |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1731908352.1647 |
REQUEST_TIME | 1731908352 |
QINIU_FUNCTIONS_VERSION | 7.2.9 |