$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;
tagid | 340 |
USER | www |
HOME | /home/www |
FCGI_ROLE | RESPONDER |
REDIRECT_STATUS | 200 |
proxy-nokeepalive | 1 |
HTTP_HOST | sheyingzj.com |
HTTP_USER_AGENT | Sogou Push Spider/3.0(+http://www.sogou.com/docs/help/webmasters.htm#07) |
HTTP_ACCEPT | */* |
HTTP_REFERER | |
PATH | /www/server/panel/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin |
LD_LIBRARY_PATH | /www/server/apache/lib |
SERVER_SIGNATURE | <address>Apache Server at sheyingzj.com Port 80</address> |
SERVER_SOFTWARE | Apache |
SERVER_NAME | sheyingzj.com |
SERVER_ADDR | 103.38.252.176 |
SERVER_PORT | 80 |
REMOTE_ADDR | 107.179.85.194 |
DOCUMENT_ROOT | /www/wwwroot/cgonetsaiben.176.sql.sh.cn/ |
REQUEST_SCHEME | http |
CONTEXT_PREFIX | |
CONTEXT_DOCUMENT_ROOT | /www/wwwroot/cgonetsaiben.176.sql.sh.cn/ |
SERVER_ADMIN | webmaster@example.com |
SCRIPT_FILENAME | /www/wwwroot/cgonetsaiben.176.sql.sh.cn/index.php |
REMOTE_PORT | 51546 |
REDIRECT_URL | /e/tags/ |
REDIRECT_QUERY_STRING | s=/e/tags/&tagid=340 |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_METHOD | GET |
QUERY_STRING | s=/e/tags/&tagid=340 |
REQUEST_URI | /e/tags/?tagid=340 |
SCRIPT_NAME | /index.php |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1660405222.0018 |
REQUEST_TIME | 1660405222 |