天游ty8线路检测中心登录(中国)有限公司

[8] ErrorException in route.php line 18

未定义数组索引: ja

  1. // | Author: liu21st
  2. // +----------------------------------------------------------------------
  3. $lang = getLang();//当前语言
  4. //pc端与移动端跳转
  5. $ism = '';
  6. $url = request()->url(true);
  7. $siteLang = cache('siteLang')[$lang];
  8. if($siteLang['tpl'] != $siteLang['mtpl']){
  9. if(request()->isMobile() && request()->isGet()){
  10. $ism = '-m';
  11. if(request()->url() == '/'){
  12. header('Location:'.$url.'index-m.html');
  13. die();
  14. }elseif(!preg_match('/-m.html/',$url)){
  15. $go = str_replace('.html','-m.html',$url);
  16. header('Location:'.$go);

Call Stack

  1. in route.php line 18
  2. at Error::appError() in route.php line 18
  3. at include('/www/wwwroot/www.sct...') in App.php line 554
  4. at App->routeInit() in App.php line 259
  5. at App->initialize() in App.php line 379
  6. at App->run() in index.php line 36

Environment Variables

GET Data
s /example/index-langja.html
POST Dataempty
Filesempty
Cookies
PHPSESSID hm1ao4iq3fu35deukmr1gbrdnl
lang def
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_COOKIE PHPSESSID=hm1ao4iq3fu35deukmr1gbrdnl; lang=def
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_HOST www.sctpcb.net
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) Chrome/116.0.1938.76 Safari/537.36
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.sctpcb.net
SERVER_PORT 443
SERVER_ADDR 10.1.24.8
REMOTE_PORT 39224
REMOTE_ADDR 209.73.153.10
SERVER_SOFTWARE nginx/1.24.0
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/www.sctpcb.net
DOCUMENT_URI /index.php
REQUEST_URI /example/index-langja.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/example/index-langja.html
SCRIPT_FILENAME /www/wwwroot/www.sctpcb.net/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1740406100.7588
REQUEST_TIME 1740406100
Environment Variablesempty
ThinkPHP Constantsempty