// 模块初始化
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 : '');
USER | www-data |
HOME | /var/www |
HTTP_CF_IPCOUNTRY | US |
HTTP_CDN_LOOP | cloudflare |
HTTP_CF_CONNECTING_IP | 35.175.174.36 |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_CF_VISITOR | {"scheme":"https"} |
HTTP_X_FORWARDED_PROTO | https |
HTTP_CF_RAY | 86ba30a9dbfa2084-IAD |
HTTP_X_FORWARDED_FOR | 35.175.174.36 |
HTTP_ACCEPT_ENCODING | gzip, br |
HTTP_CONNECTION | Keep-Alive |
HTTP_HOST | www.ug0000.com |
REDIRECT_STATUS | 200 |
SERVER_NAME | ug0000.com |
SERVER_PORT | 80 |
SERVER_ADDR | 172.31.41.166 |
REMOTE_USER | |
REMOTE_PORT | 54268 |
REMOTE_ADDR | 172.71.223.73 |
SERVER_SOFTWARE | nginx/1.18.0 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /var/www/apex |
DOCUMENT_URI | /index.php |
REQUEST_URI | /wysh/201705/t20170524_9863560.htm |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=//wysh/201705/t20170524_9863560.htm |
SCRIPT_FILENAME | /var/www/apex/index.php |
PHP_VALUE | open_basedir=/tmp/:/var/www/apex:/var/www/new_admin8/:/var/www/jdsd/ |
PATH_INFO | //wysh/201705/t20170524_9863560.htm |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711655855.9867 |
REQUEST_TIME | 1711655855 |
APP_PATH | /var/www/apex/app/ |
THINK_VERSION | 5.1.38 LTS |
THINK_START_TIME | 1711655855.9869 |
THINK_START_MEM | 359632 |
EXT | .php |
DS | / |
THINK_PATH | /var/www/apex/thinkphp/vendor/ |
LIB_PATH | /var/www/apex/thinkphp/vendor/library/ |
CORE_PATH | /var/www/apex/thinkphp/vendor/library/think/ |
TRAIT_PATH | /var/www/apex/thinkphp/vendor/library/traits/ |
ROOT_PATH | /var/www/apex/ |
EXTEND_PATH | /var/www/apex/extend/ |
VENDOR_PATH | /var/www/apex/vendor/ |
RUNTIME_PATH | /var/www/apex/runtime/ |
LOG_PATH | /var/www/apex/runtime/log/ |
CACHE_PATH | /var/www/apex/runtime/cache/ |
TEMP_PATH | /var/www/apex/runtime/temp/ |
CONF_PATH | /var/www/apex/app/ |
CONF_EXT | .php |
ENV_PREFIX | PHP_ |
IS_CLI | false |
IS_WIN | false |