// 模块初始化
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/shebei/ |
PHPSESSID | ija9056162anpf66mhe66o6g16 |
USER | apache |
HOME | /usr/share/httpd |
SCRIPT_NAME | /index.php |
REQUEST_URI | /html/shebei/ |
QUERY_STRING | /html/shebei/ |
REQUEST_METHOD | GET |
SERVER_PROTOCOL | HTTP/1.1 |
GATEWAY_INTERFACE | CGI/1.1 |
REDIRECT_QUERY_STRING | /html/shebei/ |
REDIRECT_URL | /html/shebei/ |
REMOTE_PORT | 57138 |
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 | CCBot/2.0 (https://commoncrawl.org/faq/) |
proxy-nokeepalive | 1 |
SSL_TLS_SNI | www.sxsanlian.com |
HTTPS | on |
UNIQUE_ID | Zy1Rw7tkLPCiR5sHMdAwtwAAAQc |
REDIRECT_STATUS | 200 |
REDIRECT_SSL_TLS_SNI | www.sxsanlian.com |
REDIRECT_HTTPS | on |
REDIRECT_UNIQUE_ID | Zy1Rw7tkLPCiR5sHMdAwtwAAAQc |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1731023299.6986 |
REQUEST_TIME | 1731023299 |
PATH_INFO | /html/shebei/ |
__ROOT__ | |
APP_PATH | /home/sljt/application/ |
THINK_VERSION | 5.0.5 |
THINK_START_TIME | 1731023299.6989 |
THINK_START_MEM | 418064 |
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/ |