[0] ThrowableError in config.php line 307

Fatal error: Class 'Env' not found

  1. // 全局请求缓存排除规则
  2. 'request_cache_except' => [],
  3. // 是否开启路由缓存
  4. 'route_check_cache' => false,
  5. // 路由缓存的Key自定义设置(闭包),默认为当前URL和请求类型的md5
  6. 'route_check_cache_key' => '',
  7. // 路由缓存类型及参数
  8. 'route_cache_option' => [],
  9. // 默认跳转页面对应的模板文件
  10. 'dispatch_success_tmpl' => Env::get('think_path') . 'tpl/dispatch_jump.tpl',
  11. 'dispatch_error_tmpl' => Env::get('think_path') . 'tpl/dispatch_jump.tpl',
  12. // 异常页面的模板文件
  13. 'exception_tmpl' => Env::get('think_path') . 'tpl/think_exception.tpl',
  14. // 错误显示信息,非调试模式有效
  15. 'error_message' => '页面错误!请稍后再试~',
  16. // 显示错误信息
  17. 'show_error_msg' => false,
  18. // 异常处理handle类 留空使用 \think\exception\Handle
  19. 'exception_handle' => '\\app\\common\\exception\\SecurityExceptionHandler',

Call Stack

  1. in config.php line 307
  2. at include() in Config.php line 80
  3. at Config::load('/www/wwwroot/206.238...') in App.php line 249
  4. at App::init() in App.php line 182
  5. at App::initCommon() in App.php line 82
  6. at App::run() in start.php line 19
  7. at require('/www/wwwroot/206.238...') in index.php line 126

Environment Variables

GET Data

s
/play/5359875822001-1-15.html
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_ACCEPT_ENCODING
gzip, br, zstd, deflate
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT
*/*
HTTP_HOST
yh999000.com
PATH_INFO
REDIRECT_STATUS
200
SERVER_NAME
*.yh999000.com
SERVER_PORT
443
SERVER_ADDR
206.238.40.37
REMOTE_PORT
25656
REMOTE_ADDR
216.73.216.22
SERVER_SOFTWARE
nginx/1.24.0
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/2.0
DOCUMENT_ROOT
/www/wwwroot/206.238.40.37_13899
DOCUMENT_URI
/index.php
REQUEST_URI
/play/5359875822001-1-15.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/play/5359875822001-1-15.html
SCRIPT_FILENAME
/www/wwwroot/206.238.40.37_13899/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1749396637.1565
REQUEST_TIME
1749396637
Environment Variables
empty

ThinkPHP Constants

ROOT_PATH
/www/wwwroot/206.238.40.37_13899/
APP_PATH
/www/wwwroot/206.238.40.37_13899/application/
MAC_COMM
/www/wwwroot/206.238.40.37_13899/application/common/common/
MAC_HOME_COMM
/www/wwwroot/206.238.40.37_13899/application/index/common/
MAC_ADMIN_COMM
/www/wwwroot/206.238.40.37_13899/application/admin/common/
MAC_START_TIME
1749396637.1571
BIND_MODULE
index
ENTRANCE
index
IN_FILE
/index.php
THINK_VERSION
5.0.24
THINK_START_TIME
1749396637.1577
THINK_START_MEM
434216
EXT
.php
EXTTXT
.txt
MACLINE
verifymac
DS
/
THINK_PATH
/www/wwwroot/206.238.40.37_13899/thinkphp/
LIB_PATH
/www/wwwroot/206.238.40.37_13899/thinkphp/library/
CORE_PATH
/www/wwwroot/206.238.40.37_13899/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/206.238.40.37_13899/thinkphp/library/traits/
MACERRORF
error
EXTEND_PATH
/www/wwwroot/206.238.40.37_13899/extend/
VENDOR_PATH
/www/wwwroot/206.238.40.37_13899/vendor/
RUNTIME_PATH
/www/wwwroot/206.238.40.37_13899/runtime/
LOG_PATH
/www/wwwroot/206.238.40.37_13899/runtime/log/
CACHE_PATH
/www/wwwroot/206.238.40.37_13899/runtime/cache/
TEMP_PATH
/www/wwwroot/206.238.40.37_13899/runtime/temp/
CONF_PATH
/www/wwwroot/206.238.40.37_13899/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
ADDON_PATH
/www/wwwroot/206.238.40.37_13899/addons/