*/}}
Procházet zdrojové kódy

Changed to HTTPS redirect

Yiming Wu před 3 roky
rodič
revize
71e74e9ff1
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      index.php

+ 1 - 1
index.php

@@ -87,7 +87,7 @@ class LA{
         if(isset($this->Redirect) && isset($this->Redirect[0])) foreach($this->Redirect as $r){
             if($r['for']=='S'){
                 if(preg_match('/'.$r['format'].'/ui', $_SERVER['HTTP_HOST'])){
-                    header('Location:http://'.$r['domain'].'/index.php?post='.$r['target']); exit;
+                    header('Location:https://'.$r['domain'].'/index.php?post='.$r['target']); exit;
                 }
             }
         }