Mercurial > mxd2map
comparison website/switch.php @ 201:877be7484245
Merged.
author | raimund renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 20 Jul 2011 18:30:00 +0200 |
parents | 123ebb293f3a |
children | 011ec33e84b4 |
comparison
equal
deleted
inserted
replaced
200:ecf2f68230a2 | 201:877be7484245 |
---|---|
1 <?PHP | 1 <?PHP |
2 switch ($_SERVER["HTTP_HOST"]) { | 2 switch ($_SERVER["HTTP_HOST"]) { |
3 case "www.mapwoc.de": | 3 case "www.mxd2map.org": |
4 case "mapwoc.de": | 4 case "mxd2map.org": |
5 $target = "index-de.html"; | 5 $target = "index-de.html"; |
6 break; | 6 break; |
7 default: | 7 default: |
8 $target = "index.html"; | 8 $target = "index-de.html"; |
9 } | 9 } |
10 readfile($target); | 10 readfile($target); |
11 ?> | 11 ?> |