// 模块初始化
if ($module && $available) {
// 初始化模块
$request->module($module);
$config = self::init($module);
// 模块请求缓存检查
$request->cache($config['request_cache'], $config['request_cache_expire']);
} else {
throw new HttpException(404, 'module not exists:' . $module);
}
} else {
// 单一模块部署
$module = '';
$request->module($module);
}
// 当前模块路径
App::$modulePath = APP_PATH . ($module ? $module . DS : '');
/html/hangye/41_html |
PHPSESSID | ija9056162anpf66mhe66o6g16 |
USER | apache |
HOME | /usr/share/httpd |
SCRIPT_NAME | /index.php |
REQUEST_URI | /html/hangye/41.html |
QUERY_STRING | /html/hangye/41.html |
REQUEST_METHOD | GET |
SERVER_PROTOCOL | HTTP/1.1 |
GATEWAY_INTERFACE | CGI/1.1 |
REDIRECT_QUERY_STRING | /html/hangye/41.html |
REDIRECT_URL | /html/hangye/41.html |
REMOTE_PORT | 46170 |
SCRIPT_FILENAME | /home/sljt/index.php |
SERVER_ADMIN | root@localhost |
CONTEXT_DOCUMENT_ROOT | /home/sljt |
CONTEXT_PREFIX | |
REQUEST_SCHEME | https |
DOCUMENT_ROOT | /home/sljt |
REMOTE_ADDR | 23.231.76.82 |
SERVER_PORT | 443 |
SERVER_ADDR | 172.26.232.246 |
SERVER_NAME | www.sxsanlian.com |
SERVER_SOFTWARE | Apache/2.4.37 (centos) OpenSSL/1.1.1k |
SERVER_SIGNATURE | |
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin |
HTTP_COOKIE | PHPSESSID=ija9056162anpf66mhe66o6g16 |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_ACCEPT | */* |
HTTP_HOST | www.sxsanlian.com |
HTTP_USER_AGENT | Mozilla/5.0 (compatible; DotBot/1.2; +https://opensiteexplorer.org/dotbot; help@moz.com) |
proxy-nokeepalive | 1 |
SSL_TLS_SNI | www.sxsanlian.com |
HTTPS | on |
UNIQUE_ID | ZwRVT7-DnKdlb2Xi@GyA4AAAA4k |
REDIRECT_STATUS | 200 |
REDIRECT_SSL_TLS_SNI | www.sxsanlian.com |
REDIRECT_HTTPS | on |
REDIRECT_UNIQUE_ID | ZwRVT7-DnKdlb2Xi@GyA4AAAA4k |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1728337231.8129 |
REQUEST_TIME | 1728337231 |
PATH_INFO | /html/hangye/41.html |
__ROOT__ | |
APP_PATH | /home/sljt/application/ |
THINK_VERSION | 5.0.5 |
THINK_START_TIME | 1728337231.8132 |
THINK_START_MEM | 418240 |
EXT | .php |
DS | / |
THINK_PATH | /home/sljt/thinkphp/ |
LIB_PATH | /home/sljt/thinkphp/library/ |
CORE_PATH | /home/sljt/thinkphp/library/think/ |
TRAIT_PATH | /home/sljt/thinkphp/library/traits/ |
ROOT_PATH | /home/sljt/ |
EXTEND_PATH | /home/sljt/extend/ |
VENDOR_PATH | /home/sljt/vendor/ |
RUNTIME_PATH | /home/sljt/runtime/ |
LOG_PATH | /home/sljt/runtime/log/ |
CACHE_PATH | /home/sljt/runtime/cache/ |
TEMP_PATH | /home/sljt/runtime/temp/ |
CONF_PATH | /home/sljt/application/ |
CONF_EXT | .php |
ENV_PREFIX | PHP_ |
IS_CLI | false |
IS_WIN | false |
JINGLING_VERSION | 1.0 |
JINGLING_ADDON_PATH | /home/sljt//addons/ |