Your Name 8 months ago
parent
commit
589ff73bb9
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      login.php

+ 2
- 2
login.php View File

@@ -27,11 +27,11 @@ $url = $protocol . $domainName;
27 27
 echo $domainName; // 输出当前域名的完整URL
28 28
 
29 29
 if($domainName == 'www.zc10000.com' || $domainName == 'zc10000.com'){
30
-/*    header('HTTP/1.1 301 Moved Permanently');
30
+    header('HTTP/1.1 301 Moved Permanently');
31 31
     // 设置新的位置为主页URL
32 32
     header('Location: https://www.zc10000.com');
33 33
     // 确保之后的代码不会执行
34
-    exit();*/
34
+    exit();
35 35
 }
36 36
 
37 37
 header("Content-type:text/html;charset=utf-8");

Loading…
Cancel
Save