$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;
DOCUMENT_ROOT | /www/users/H10107216 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTP_ACCEPT | */* |
HTTP_HOST | www.szxslzp.com |
HTTP_USER_AGENT | claudebot |
PATH | /bin |
PHPRC | /usr/gvpc/php5/etc/site/H10107216/php7.1.ini |
QUERY_STRING | s=product/hehei_600.html |
REDIRECT_QUERY_STRING | s=product/hehei_600.html |
REDIRECT_STATUS | 200 |
REDIRECT_URL | /product/hehei_600.html |
REMOTE_ADDR | 34.231.247.254 |
REMOTE_PORT | 33696 |
REQUEST_METHOD | GET |
REQUEST_URI | /product/hehei_600.html |
SCRIPT_FILENAME | /www/users/H10107216/index.php |
SCRIPT_NAME | /index.php |
SERVER_ADDR | 124.172.154.20 |
SERVER_ADMIN | you@example.com |
SERVER_NAME | www.szxslzp.com |
SERVER_PORT | 80 |
SERVER_PROTOCOL | HTTP/1.1 |
SERVER_SIGNATURE | |
SERVER_SOFTWARE | Apache |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711709882.7216 |
REQUEST_TIME | 1711709882 |