$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;
USER | host5723012 |
HOME | /webHome/host5723012 |
HTTP_X_MICROSOFTAJAX | Delta=true |
HTTP_USER_AGENT | Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0) |
HTTP_CONTENT_TYPE | application/x-www-form-urlencoded; charset=utf-8 |
HTTP_CACHE_CONTROL | no-cache |
HTTP_ACCEPT_LANGUAGE | en-US,en;q=0.5 |
HTTP_ACCEPT_ENCODING | gzip, deflate |
HTTP_ACCEPT | text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 |
HTTP_X_APPLE_STORE_FRONT | 143444,12 |
HTTP_X_APPLE_TZ | 0 |
HTTP_REFERER | https://www.baidu.com/search/spider.htm |
HTTP_HOST | lnxwtjq.com |
SCRIPT_FILENAME | /webHome/host5723012/www/index.php |
REDIRECT_STATUS | 200 |
SERVER_NAME | lnxwtjq.com |
SERVER_PORT | 80 |
SERVER_ADDR | 101.36.223.222 |
REMOTE_PORT | 34826 |
REMOTE_ADDR | 172.87.215.226 |
SERVER_SOFTWARE | nginx/1.21.0 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /webHome/host5723012/www |
DOCUMENT_URI | /index.php |
REQUEST_URI | /tel:18566040343 |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | application/x-www-form-urlencoded; charset=utf-8 |
REQUEST_METHOD | GET |
QUERY_STRING | s=tel:18566040343 |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1715261260.6741 |
REQUEST_TIME | 1715261260 |
USER | host5723012 |
HOME | /webHome/host5723012 |
HTTP_X_MICROSOFTAJAX | Delta=true |
HTTP_USER_AGENT | Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0) |
HTTP_CONTENT_TYPE | application/x-www-form-urlencoded; charset=utf-8 |
HTTP_CACHE_CONTROL | no-cache |
HTTP_ACCEPT_LANGUAGE | en-US,en;q=0.5 |
HTTP_ACCEPT_ENCODING | gzip, deflate |
HTTP_ACCEPT | text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 |
HTTP_X_APPLE_STORE_FRONT | 143444,12 |
HTTP_X_APPLE_TZ | 0 |
HTTP_REFERER | https://www.baidu.com/search/spider.htm |
HTTP_HOST | lnxwtjq.com |
SCRIPT_FILENAME | /webHome/host5723012/www/index.php |
REDIRECT_STATUS | 200 |
SERVER_NAME | lnxwtjq.com |
SERVER_PORT | 80 |
SERVER_ADDR | 101.36.223.222 |
REMOTE_PORT | 34826 |
REMOTE_ADDR | 172.87.215.226 |
SERVER_SOFTWARE | nginx/1.21.0 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /webHome/host5723012/www |
DOCUMENT_URI | /index.php |
REQUEST_URI | /tel:18566040343 |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | application/x-www-form-urlencoded; charset=utf-8 |
REQUEST_METHOD | GET |
QUERY_STRING | s=tel:18566040343 |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1715261260.6741 |
REQUEST_TIME | 1715261260 |