永利宫官网|(中国)股份有限公司 -科学百科

[8] ErrorException in config.php line 37

Undefined index: HTTP_USER_AGENT

  1. );
  2. }
  3. }
  4. function isMobiles(){
  5. $userAgent = $_SERVER['HTTP_USER_AGENT'];
  6. if(strpos($userAgent,"iPhone") || strpos($userAgent,"iPad") || strpos($userAgent,"iPod") || strpos($userAgent,"Android")){
  7. return true;
  8. }
  9. // 如果有HTTP_X_WAP_PROFILE则一定是移动设备
  10. if (isset ($_SERVER['HTTP_X_WAP_PROFILE']))
  11. {
  12. return true;
  13. }

Call Stack

  1. in config.php line 37
  2. at Error::appError() in config.php line 37
  3. at isMobiles() in config.php line 7
  4. at include('/www/wwwroot/www.tai...') in config.php line 12
  5. at include('/www/wwwroot/www.tai...') in Config.php line 80
  6. at Config::load() in App.php line 249
  7. at App::init() in App.php line 182
  8. at App::initCommon() in App.php line 82
  9. at App::run() in index.php line 57

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

PHPSESSID
aicipmjpb2s7i1v6f4hvujpa34

Session

langs
s
lang_template
pc_cn

Server/Request Data

USER
www
HOME
/home/www
HTTP_COOKIE
PHPSESSID=aicipmjpb2s7i1v6f4hvujpa34
HTTP_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_HOST
www.taiqifood.com
PATH_INFO
REDIRECT_STATUS
200
SERVER_NAME
www.taiqifood.com
SERVER_PORT
80
SERVER_ADDR
10.25.201.53
REMOTE_PORT
57770
REMOTE_ADDR
104.253.239.234
SERVER_SOFTWARE
nginx/1.22.1
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/www.taiqifood.com
DOCUMENT_URI
/index.php
REQUEST_URI
/index.php
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
SCRIPT_FILENAME
/www/wwwroot/www.taiqifood.com/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1751989827.2231
REQUEST_TIME
1751989827
Environment Variables
empty

ThinkPHP Constants

APP_DEBUG
false
CMF_ROOT
/www/wwwroot/www.taiqifood.com/
APP_PATH
/www/wwwroot/www.taiqifood.com/app/
UPLOAD_PATH
/www/wwwroot/www.taiqifood.com/upload/
CMF_PATH
/www/wwwroot/www.taiqifood.com/simplewind/cmf/
PLUGINS_PATH
/www/wwwroot/www.taiqifood.com/plugins/
EXTEND_PATH
/www/wwwroot/www.taiqifood.com/simplewind/extend/
VENDOR_PATH
/www/wwwroot/www.taiqifood.com/simplewind/vendor/
RUNTIME_PATH
/www/wwwroot/www.taiqifood.com/data/runtime/
THINKCMF_VERSION
5.0.170927
SO
is_top DESC,list_order DESC,published_time DESC,post_id DESC
GSO
is_top DESC,category_relate.list_order DESC,published_time DESC,goods_id DESC
TMPLSO
order:is_top DESC,list_order DESC,published_time DESC,post_id DESC;
TMPLGSO
order:is_top DESC,category_relate.list_order DESC,published_time DESC,goods_id DESC;
WEB_ROOT
/www/wwwroot/www.taiqifood.com/
THINK_VERSION
5.0.24
THINK_START_TIME
1751989827.2243
THINK_START_MEM
425248
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/www.taiqifood.com/simplewind/thinkphp/
LIB_PATH
/www/wwwroot/www.taiqifood.com/simplewind/thinkphp/library/
CORE_PATH
/www/wwwroot/www.taiqifood.com/simplewind/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/www.taiqifood.com/simplewind/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/www.taiqifood.com/
LOG_PATH
/www/wwwroot/www.taiqifood.com/data/runtime/log/
CACHE_PATH
/www/wwwroot/www.taiqifood.com/data/runtime/cache/
TEMP_PATH
/www/wwwroot/www.taiqifood.com/data/runtime/temp/
CONF_PATH
/www/wwwroot/www.taiqifood.com/app/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
HTMLPURIFIER_PREFIX
/www/wwwroot/www.taiqifood.com/simplewind/vendor/ezyang/htmlpurifier/library
QINIU_FUNCTIONS_VERSION
7.2.1
Baidu
sogou