ajout d'un installeur en ligne
[mtweb] / mw / env / modules / mw_env_urls.php
index 7bf6153..9a6b014 100644 (file)
           "wait" => $wait
         )
       );
-      if(!$wait && !headers_sent()){
-        header("Location: ".str_replace("&", "&", $url));
+      if(!headers_sent()){
+        if($wait){
+          if(function_exists("header_remove")) header_remove("Location");
+        }
+        else header("Location: ".str_replace("&", "&", $url));
       }
     }