projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
page admin pour le wiki
[platal.git]
/
scripts
/
webredirect.php
diff --git
a/scripts/webredirect.php
b/scripts/webredirect.php
index
68322d2
..
f834e07
100644
(file)
--- a/
scripts/webredirect.php
+++ b/
scripts/webredirect.php
@@
-35,9
+35,9
@@
$res = XDB::query(
if ($url = $res->fetchOneCell()) {
$url = preg_replace('@/+$@', '', $url);
if($path) {
- redirect("http://$url/$path");
+
http_
redirect("http://$url/$path");
} else {
- redirect("http://$url");
+
http_
redirect("http://$url");
}
exit();
}