X-Git-Url: http://git.dj3c1t.com/?a=blobdiff_plain;f=mw%2Fenv%2Fmodules%2Fmw_env_urls.php;h=9a6b014204c58b5b93ea21910d280f2317a64257;hb=0ada6496e6c552c473a5816734b38896ccdd345b;hp=0f745a708b2794024eaa1b9538eb47885d5b7622;hpb=422d883e3ed8ee55ee41e3b7826f32b79cea646d;p=mtweb diff --git a/mw/env/modules/mw_env_urls.php b/mw/env/modules/mw_env_urls.php index 0f745a7..9a6b014 100644 --- a/mw/env/modules/mw_env_urls.php +++ b/mw/env/modules/mw_env_urls.php @@ -42,7 +42,9 @@ ) ); if(!headers_sent()){ - if($wait) header_remove("Location"); + if($wait){ + if(function_exists("header_remove")) header_remove("Location"); + } else header("Location: ".str_replace("&", "&", $url)); } }