$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 |
HTTP_CF_IPCOUNTRY | US |
HTTP_CDN_LOOP | cloudflare |
HTTP_CF_CONNECTING_IP | 44.223.5.218 |
HTTP_REFERER | http://hansfallada.com/%D0%B7%D0%B2%D1%83%D0%BA%D0%B8-%D0%BF%D0%BE%D0%B5%D0%B7%D0%B4%D0%B0 |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_CF_VISITOR | {"scheme":"https"} |
HTTP_X_FORWARDED_PROTO | https |
HTTP_CF_RAY | 86c096b1a8cb28a8-IAD |
HTTP_X_FORWARDED_FOR | 44.223.5.218 |
HTTP_ACCEPT_ENCODING | gzip, br |
HTTP_CONNECTION | Keep-Alive |
HTTP_HOST | hansfallada.com |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | hansfallada.com |
SERVER_PORT | 80 |
SERVER_ADDR | 172.31.40.113 |
REMOTE_PORT | 37696 |
REMOTE_ADDR | 172.71.223.38 |
SERVER_SOFTWARE | nginx/1.22.1 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/268sd.tests001.cyou/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /%D0%B7%D0%B2%D1%83%D0%BA%D0%B8-%D0%BF%D0%BE%D0%B5%D0%B7%D0%B4%D0%B0 |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/%D0%B7%D0%B2%D1%83%D0%BA%D0%B8-%D0%BF%D0%BE%D0%B5%D0%B7%D0%B4%D0%B0 |
SCRIPT_FILENAME | /www/wwwroot/268sd.tests001.cyou/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711722949.7782 |
REQUEST_TIME | 1711722949 |
SITE_URL | http://hansfallada.com |
APP_PATH | /www/wwwroot/268sd.tests001.cyou/public/../application/ |
PHPEXCEL_ROOT | /www/wwwroot/268sd.tests001.cyou/public/../extend/PHPExcel/ |
QINIU_FUNCTIONS_VERSION | 7.2.9 |