$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;
$Version | 1 |
PHPSESSID | v4rdop2fa7tm4q633k4vjhr527 |
$Path | / |
USER | nobody |
HOME | / |
HTTP_ACCEPT_ENCODING | gzip, identity;q=0.9 |
HTTP_ACCEPT_LANGUAGE | en, * |
HTTP_ACCEPT | text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1 |
HTTP_USER_AGENT | Mozilla/4.5 (compatible; 3.0x; Windows 98) |
HTTP_HOST | www.liuxingjia.com |
HTTP_CONNECTION | keep-alive |
HTTP_COOKIE | $Version=1; PHPSESSID=v4rdop2fa7tm4q633k4vjhr527; $Path=/ |
HTTP_REFERER | http://www.liuxingjia.com/ |
REDIRECT_STATUS | 200 |
SERVER_NAME | wh-na6s9lya8yh0qtv56c4.my3w.com |
SERVER_PORT | 80 |
SERVER_ADDR | 10.17.101.80 |
REMOTE_PORT | 53634 |
REMOTE_ADDR | 38.207.248.66 |
SERVER_SOFTWARE | nginx/1.18.0 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /data/user/htdocs |
DOCUMENT_URI | /index.php |
REQUEST_URI | /bankuangshi/ |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/bankuangshi/ |
PATH_INFO | |
SCRIPT_FILENAME | /data/user/htdocs/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1707847125.2967 |
REQUEST_TIME | 1707847125 |