$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 | /usr/home/wh-au6s9lya8ym5c5yhzed/htdocs |
GATEWAY_INTERFACE | CGI/1.1 |
HTTP_ACCEPT | */* |
HTTP_HOST | www.arctechsolar.us |
HTTP_REFERER | http://arctechsolar.us/index.php/service/index |
HTTP_USER_AGENT | claudebot |
PATH | /bin |
PATH_INFO | /service/index |
PATH_TRANSLATED | /usr/home/wh-au6s9lya8ym5c5yhzed/htdocs/index.php |
PHPRC | /var/www/php72/hichina_ini/wh-au6s9lya8ym5c5yhzed |
QUERY_STRING | |
REDIRECT_STATUS | 200 |
REMOTE_ADDR | 54.242.96.240 |
REMOTE_PORT | 37260 |
REQUEST_METHOD | GET |
REQUEST_URI | /index.php/service/index |
SCRIPT_FILENAME | /usr/home/wh-au6s9lya8ym5c5yhzed/htdocs/index.php |
SCRIPT_NAME | /index.php |
SCRIPT_URI | http://www.arctechsolar.us/index.php/service/index |
SCRIPT_URL | /index.php/service/index |
SERVER_ADDR | 172.17.115.86 |
SERVER_ADMIN | webmaster@wh-au6s9lya8ym5c5yhzed.my3w.com |
SERVER_NAME | www.arctechsolar.us |
SERVER_PORT | 80 |
SERVER_PROTOCOL | HTTP/1.1 |
SERVER_SIGNATURE | |
SERVER_SOFTWARE | Apache |
TZ | Asia/Shanghai |
UNIQUE_ID | ZgZMQKwRc1YAAEO5IscAAAAA |
PHP_SELF | /index.php/service/index |
REQUEST_TIME_FLOAT | 1711688768.252 |
REQUEST_TIME | 1711688768 |
HTMLPURIFIER_PREFIX | /usr/home/wh-au6s9lya8ym5c5yhzed/htdocs/vendor/ezyang/htmlpurifier/library |