$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_CONNECTION | keep-alive |
| HTTP_CACHE_CONTROL | max-age=259200 |
| HTTP_X_FORWARDED_FOR | 10.9.247.220 |
| HTTP_VIA | 1.1 squid-proxy-5b96dc6d46-xjp4j (squid/6.13) |
| HTTP_ACCEPT_ENCODING | gzip, br, zstd, deflate |
| HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
| HTTP_ACCEPT | */* |
| PATH_INFO | |
| HTTP_HOST | www.shuzhiyihao.top |
| REDIRECT_STATUS | 200 |
| SERVER_NAME | www.shuzhiyihao.top |
| SERVER_PORT | 80 |
| SERVER_ADDR | 192.168.0.247 |
| REMOTE_PORT | 60257 |
| REMOTE_ADDR | 216.73.217.106 |
| SERVER_SOFTWARE | nginx/1.28.1 |
| GATEWAY_INTERFACE | CGI/1.1 |
| REQUEST_SCHEME | http |
| SERVER_PROTOCOL | HTTP/1.1 |
| DOCUMENT_ROOT | /www/wwwroot/www.simiqi.eu.cc |
| DOCUMENT_URI | /index.php |
| REQUEST_URI | /sitemap.xml |
| SCRIPT_NAME | /index.php |
| CONTENT_LENGTH | |
| CONTENT_TYPE | |
| REQUEST_METHOD | GET |
| QUERY_STRING | s=/sitemap.xml |
| SCRIPT_FILENAME | /www/wwwroot/www.simiqi.eu.cc/index.php |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php |
| REQUEST_TIME_FLOAT | 1788186926.9664 |
| REQUEST_TIME | 1788186926 |
| APP_PATH | /www/wwwroot/www.simiqi.eu.cc\app\ |
| ZY_SHOP_TASK_URL | http://www.shuzhiyihao.top/task/ |
| QINIU_FUNCTIONS_VERSION | 7.4.3 |