$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;
ntype | 16 |
page | 5 |
REDIRECT_STATUS | 200 |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | claudebot |
HTTP_HOST | u591.com |
PATH | /sbin:/usr/sbin:/bin:/usr/bin |
SERVER_SIGNATURE | <address>Apache/2.2.15 (CentOS) Server at u591.com Port 80</address> |
SERVER_SOFTWARE | Apache/2.2.15 (CentOS) |
SERVER_NAME | u591.com |
SERVER_ADDR | 192.168.1.2 |
SERVER_PORT | 80 |
REMOTE_ADDR | 54.160.243.44 |
DOCUMENT_ROOT | /data/tp5game/public |
SERVER_ADMIN | root@localhost |
SCRIPT_FILENAME | /data/tp5game/public/index.php |
REMOTE_PORT | 45622 |
REDIRECT_QUERY_STRING | ntype=16&page=5 |
REDIRECT_URL | /tw/news_list.php |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_METHOD | GET |
QUERY_STRING | ntype=16&page=5 |
REQUEST_URI | /tw/news_list.php?ntype=16&page=5 |
SCRIPT_NAME | /index.php |
PATH_INFO | /tw/news_list.php |
PATH_TRANSLATED | redirect:/index.php/tw/news_list.php/news_list.php |
PHP_SELF | /index.php/tw/news_list.php |
REQUEST_TIME_FLOAT | 1711613004.678 |
REQUEST_TIME | 1711613004 |