$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;
/bencandy_php | |
fid | 44 |
id | 7478 |
REDIRECT_UNIQUE_ID | ZgZswhPdJl8AULp3KyvkxQAAAAg |
REDIRECT_STATUS | 200 |
UNIQUE_ID | ZgZswhPdJl8AULp3KyvkxQAAAAg |
HTTP_HOST | x4.lnjpedu.com |
HTTP_CONNECTION | close |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | claudebot |
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin |
SERVER_SIGNATURE | |
SERVER_SOFTWARE | Apache/2.4.6 (CentOS) PHP/7.2.34 |
SERVER_NAME | x4.lnjpedu.com |
SERVER_ADDR | 10.0.100.11 |
SERVER_PORT | 80 |
REMOTE_ADDR | 10.0.1.99 |
DOCUMENT_ROOT | /home/www/x4/public |
REQUEST_SCHEME | http |
CONTEXT_PREFIX | |
CONTEXT_DOCUMENT_ROOT | /home/www/x4/public |
SERVER_ADMIN | root@localhost |
SCRIPT_FILENAME | /home/www/x4/public/index.php |
REMOTE_PORT | 45136 |
REDIRECT_QUERY_STRING | /bencandy.php&fid=44&id=7478 |
REDIRECT_URL | /bencandy.php |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/1.0 |
REQUEST_METHOD | GET |
QUERY_STRING | /bencandy.php&fid=44&id=7478 |
REQUEST_URI | /bencandy.php?fid=44&id=7478 |
SCRIPT_NAME | /index.php |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711697090.82 |
REQUEST_TIME | 1711697090 |