$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 | nobody |
HOME | / |
FCGI_ROLE | RESPONDER |
SCRIPT_FILENAME | /data/user/htdocs/index.php |
PATH_INFO | |
QUERY_STRING | s=2017%E6%9D%8F%E5%BD%A9%E6%BA%90%E7%A0%81%E3%80%90%E2%94%83%E5%B8%82%E5%9C%BA%E9%83%A846416%E2%92%8F5[%E6%89%A3]%E3%80%91%E3%80%91 |
REQUEST_METHOD | GET |
CONTENT_TYPE | |
CONTENT_LENGTH | |
SCRIPT_NAME | /index.php |
REQUEST_URI | /?s=2017%E6%9D%8F%E5%BD%A9%E6%BA%90%E7%A0%81%E3%80%90%E2%94%83%E5%B8%82%E5%9C%BA%E9%83%A846416%E2%92%8F5[%E6%89%A3]%E3%80%91%E3%80%91 |
DOCUMENT_URI | /index.php |
DOCUMENT_ROOT | /data/user/htdocs |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_SCHEME | http |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_SOFTWARE | nginx/1.18.0 |
REMOTE_ADDR | 18.206.13.112 |
REMOTE_PORT | 35398 |
SERVER_ADDR | 10.21.16.184 |
SERVER_PORT | 80 |
SERVER_NAME | wh-nbcavo50cwy7a7a8843.my3w.com |
REDIRECT_STATUS | 200 |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | claudebot |
HTTP_HOST | www.huayuhua.com |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711629491.5463 |
REQUEST_TIME | 1711629491 |
ROOT_PATH | /data/user/htdocs |
APP_PATH | /data/user/htdocs/application |
WEB_URL | http://www.huayuhua.com/ |