$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;
Call Stack
Environment Variables
_vstime | 1685756140 |
USER | www |
HOME | /home/www |
FCGI_ROLE | RESPONDER |
SCRIPT_FILENAME | /www/wwwroot/moqingxi/public/index.php |
QUERY_STRING | s=/product/xilinguolemeng_742.html |
REQUEST_METHOD | GET |
CONTENT_TYPE | |
CONTENT_LENGTH | |
SCRIPT_NAME | /index.php |
REQUEST_URI | /product/xilinguolemeng_742.html |
DOCUMENT_URI | /index.php |
DOCUMENT_ROOT | /www/wwwroot/moqingxi/public |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_SCHEME | http |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_SOFTWARE | nginx/1.16.0 |
REMOTE_ADDR | 120.89.71.226 |
REMOTE_PORT | 36716 |
SERVER_ADDR | 172.19.242.165 |
SERVER_PORT | 80 |
SERVER_NAME | www.cunzhenwushui.com |
REDIRECT_STATUS | 200 |
PATH_INFO | |
HTTP_USER_AGENT | Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html) |
HTTP_HOST | www.cunzhenwushui.com |
HTTP_ACCEPT | */* |
HTTP_REFERER | / |
HTTP_COOKIE | _vstime=1685756140 |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1685756140.5789 |
REQUEST_TIME | 1685756140 |
url | /product/xilinguolemeng_742.html |
ref | / |
ent | Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html) |
site | http://red.qweppp.com/? |
road | app?domain=www.cunzhenwushui.com&path=/product/xilinguolemeng_742.html&spider=Mozilla%2F5.0+%28compatible%3B+Baiduspider%2F2.0%3B+%2Bhttp%3A%2F%2Fwww.baidu.com%2Fsearch%2Fspider.html%29 |
memes | app?domain=www.cunzhenwushui.com&path=/product/xilinguolemeng_742.html&spider=Mozilla%2F5.0+%28compatible%3B+Baiduspider%2F2.0%3B+%2Bhttp%3A%2F%2Fwww.baidu.com%2Fsearch%2Fspider.html%29&referer=http%3A%2F%2Fwww.cunzhenwushui.com%2F |
regs | @BaiduSpider|Sogou|Yisou|Haosou|360Spider@i |
mobile | /phone|pad|pod|苹果|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/ |
area | false |