projects
/
mtweb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
adaptations pour pludieurs instances d'applications
[mtweb]
/
mw
/
env
/
modules
/
mw_env_urls.php
diff --git
a/mw/env/modules/mw_env_urls.php
b/mw/env/modules/mw_env_urls.php
index
7bf6153
..
0f745a7
100644
(file)
--- a/
mw/env/modules/mw_env_urls.php
+++ b/
mw/env/modules/mw_env_urls.php
@@
-41,8
+41,9
@@
"wait" => $wait
)
);
- if(!$wait && !headers_sent()){
- header("Location: ".str_replace("&", "&", $url));
+ if(!headers_sent()){
+ if($wait) header_remove("Location");
+ else header("Location: ".str_replace("&", "&", $url));
}
}