// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
$lang = getLang();//当前语言
//pc端与移动端跳转
$ism = '';
$url = request()->url(true);
$siteLang = cache('siteLang')[$lang];
if($siteLang['tpl'] != $siteLang['mtpl']){
if(request()->ismobiles() && request()->isGet()){
$ism = '-m';
if(request()->url() == '/'){
header('locations:'.$url.'index-m.html');
die();
}elseif(!preg_match('/-m.html/',$url)){
$go = str_replace('.html','-m.html',$url);
s | /admin/hit/index |
module | service |
USER | www |
HOME | /home/www |
HTTP_REFERER | |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | Sogou web spider/4.0(+http://www.sogou.com/docs/help/webmasters.htm#07) |
HTTP_HOST | www.videochaterotico.net |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.videochaterotico.net |
SERVER_PORT | 80 |
SERVER_ADDR | 10.0.12.12 |
REMOTE_PORT | 34584 |
REMOTE_ADDR | 43.230.168.250 |
SERVER_SOFTWARE | nginx/1.22.1 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/www.videochaterotico.net |
DOCUMENT_URI | /index.php |
REQUEST_URI | /admin/hit/index?module=service |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/admin/hit/index&module=service |
SCRIPT_FILENAME | /www/wwwroot/www.videochaterotico.net/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1715744221.3396 |
REQUEST_TIME | 1715744221 |