$available = true;
}
// 模(Mo)块(Kuai)初(Chu)始(Shi)化(Hua)
if ($module && $available) {
// 初(Chu)始(Shi)化(Hua)模(Mo)块(Kuai)
$this->request->setModule($module);
$this->app->init($module);
} else {
throw new HttpException(404, 'module not exists:' . $module);
}
}
// 是(Shi)否(Fou)自(Zi)动(Dong)转(Zhuan)换(Huan)控(Kong)制(Zhi)器(Qi)和(He)操(Cao)作(Zuo)名(Ming)
$convert = is_bool($this->convert) ? $this->convert : $this->rule->getConfig('url_convert');
// 获(Huo)取(Qu)控(Kong)制(Zhi)器(Qi)名(Ming)
$controller = strip_tags($result[1] ?: $this->rule->getConfig('default_controller'));
$this->controller = $convert ? strtolower($controller) : $controller;
/sitemap_xml |
USER | www |
HOME | /home/www |
SCRIPT_NAME | /index.php |
REQUEST_URI | /sitemap.xml |
QUERY_STRING | /sitemap.xml |
REQUEST_METHOD | GET |
SERVER_PROTOCOL | HTTP/1.1 |
GATEWAY_INTERFACE | CGI/1.1 |
REDIRECT_QUERY_STRING | /sitemap.xml |
REDIRECT_URL | /sitemap.xml |
REMOTE_PORT | 60584 |
SCRIPT_FILENAME | /www/wwwroot/www.eretirementliving.com/index.php |
SERVER_ADMIN | webmaster@example.com |
CONTEXT_DOCUMENT_ROOT | /www/wwwroot/www.eretirementliving.com |
CONTEXT_PREFIX | |
REQUEST_SCHEME | http |
DOCUMENT_ROOT | /www/wwwroot/www.eretirementliving.com |
REMOTE_ADDR | 172.87.201.106 |
SERVER_PORT | 80 |
SERVER_ADDR | 172.26.97.31 |
SERVER_NAME | eretirementliving.com |
SERVER_SOFTWARE | Apache |
SERVER_SIGNATURE | <address>Apache Server at eretirementliving.com Port 80</address> |
LD_LIBRARY_PATH | /www/server/apache/lib |
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin |
HTTP_PRAGMA | no-cache |
HTTP_CACHE_CONTROL | no-cache |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) Chrome/116.0.1938.76 Safari/537.36 |
HTTP_FROM | bingbot(at)microsoft.com |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_HOST | eretirementliving.com |
proxy-nokeepalive | 1 |
REDIRECT_STATUS | 200 |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1731069007.2898 |
REQUEST_TIME | 1731069007 |
FILTER_VALIDATE_BOOL | 258 |
QINIU_FUNCTIONS_VERSION | 7.2.10 |