威廉希尔体育|(中国)股份有限公司-baidu百科

[8] ErrorException in config.php line 44

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 44
  2. at Error::appError(8, 'Undefined index: HTT...', '/home/sangni/domains...', 44, []) in config.php line 44
  3. at isMobiles() in config.php line 7
  4. at include('/home/sangni/domains...') in config.php line 12
  5. at include('/home/sangni/domains...') in Config.php line 80
  6. at Config::load('/home/sangni/domains...') 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 58

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

PHPSESSID
mkui4dmt5flg1s73ovbkvfl1m0
Session
empty

Server/Request Data

USER
sangni
HOME
/home/sangni
SCRIPT_NAME
/index.php
REQUEST_URI
/
QUERY_STRING
REQUEST_METHOD
GET
SERVER_PROTOCOL
HTTP/1.1
GATEWAY_INTERFACE
CGI/1.1
REMOTE_PORT
36088
SCRIPT_FILENAME
/home/sangni/domains/sangni.gz19.hostadm.net/public_html/index.php
SERVER_ADMIN
webmaster@sangni.gz19.hostadm.net
CONTEXT_DOCUMENT_ROOT
/home/sangni/domains/sangni.gz19.hostadm.net/public_html
CONTEXT_PREFIX
REQUEST_SCHEME
http
DOCUMENT_ROOT
/home/sangni/domains/sangni.gz19.hostadm.net/public_html
REMOTE_ADDR
104.164.50.82
SERVER_PORT
80
SERVER_ADDR
103.41.232.119
SERVER_NAME
www.snhbkj.net
SERVER_SOFTWARE
Apache/2
SERVER_SIGNATURE
PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_COOKIE
PHPSESSID=mkui4dmt5flg1s73ovbkvfl1m0
HTTP_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_HOST
www.snhbkj.net
proxy-nokeepalive
1
UNIQUE_ID
ZzaNSOSlIp9kmQ8XgTYlGwAAAGk
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1731628360.2736
REQUEST_TIME
1731628360
Environment Variables
empty

ThinkPHP Constants

APP_DEBUG
false
CMF_ROOT
/home/sangni/domains/sangni.gz19.hostadm.net/public_html/
APP_PATH
/home/sangni/domains/sangni.gz19.hostadm.net/public_html/app/
UPLOAD_PATH
/home/sangni/domains/sangni.gz19.hostadm.net/public_html/upload/
CMF_PATH
/home/sangni/domains/sangni.gz19.hostadm.net/public_html/simplewind/cmf/
PLUGINS_PATH
/home/sangni/domains/sangni.gz19.hostadm.net/public_html/plugins/
EXTEND_PATH
/home/sangni/domains/sangni.gz19.hostadm.net/public_html/simplewind/extend/
VENDOR_PATH
/home/sangni/domains/sangni.gz19.hostadm.net/public_html/simplewind/vendor/
RUNTIME_PATH
/home/sangni/domains/sangni.gz19.hostadm.net/public_html/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
/home/sangni/domains/sangni.gz19.hostadm.net/public_html/
THINK_VERSION
5.0.24
THINK_START_TIME
1731628360.2747
THINK_START_MEM
417768
EXT
.php
DS
/
THINK_PATH
/home/sangni/domains/sangni.gz19.hostadm.net/public_html/simplewind/thinkphp/
LIB_PATH
/home/sangni/domains/sangni.gz19.hostadm.net/public_html/simplewind/thinkphp/library/
CORE_PATH
/home/sangni/domains/sangni.gz19.hostadm.net/public_html/simplewind/thinkphp/library/think/
TRAIT_PATH
/home/sangni/domains/sangni.gz19.hostadm.net/public_html/simplewind/thinkphp/library/traits/
ROOT_PATH
/home/sangni/domains/sangni.gz19.hostadm.net/public_html/
LOG_PATH
/home/sangni/domains/sangni.gz19.hostadm.net/public_html/data/runtime/log/
CACHE_PATH
/home/sangni/domains/sangni.gz19.hostadm.net/public_html/data/runtime/cache/
TEMP_PATH
/home/sangni/domains/sangni.gz19.hostadm.net/public_html/data/runtime/temp/
CONF_PATH
/home/sangni/domains/sangni.gz19.hostadm.net/public_html/app/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
HTMLPURIFIER_PREFIX
/home/sangni/domains/sangni.gz19.hostadm.net/public_html/simplewind/vendor/ezyang/htmlpurifier/library
QINIU_FUNCTIONS_VERSION
7.2.1
Baidu
sogou