Commit af3cfc8c by quchuanqi

官网调整

parent f0bc05f0
...@@ -5,10 +5,12 @@ $detect = new Mobile_Detect; ...@@ -5,10 +5,12 @@ $detect = new Mobile_Detect;
if ($detect->isMobile()) { if ($detect->isMobile()) {
header('HTTP/1.1 301 Moved Permanently'); header('HTTP/1.1 301 Moved Permanently');
$host = $_SERVER['HTTP_HOST']; $host = $_SERVER['HTTP_HOST'];
if ($host == 'www.jingtaomall.cn' || $host == 'jingtaomall.cn') { /*if ($host == 'www.jingtaomall.cn' || $host == 'jingtaomall.cn') {
header('Location: //m.jingtaomall.cn'); header('Location: //m.jingtaomall.cn');
} else { } else {
header('Location: //m.huhusaving.com'); header('Location: //m.huhusaving.com');
} }*/
header('Location: //m.wasair.com');
} }
include 'index.html'; include 'index.html';
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment