Mercurial > mxd2map
diff website/switch.php @ 161:3ac0968e26f3
merged with Karls repo from website
author | Stephan Holl <stephan.holl@intevation.de> |
---|---|
date | Thu, 30 Jun 2011 12:40:27 +0200 |
parents | 579b94f442a9 |
children | 123ebb293f3a |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/website/switch.php Thu Jun 30 12:40:27 2011 +0200 @@ -0,0 +1,11 @@ +<?PHP +switch ($_SERVER["HTTP_HOST"]) { + case "www.mapwoc.de": + case "mapwoc.de": + $target = "index-de.html"; + break; + default: + $target = "index.html"; + } +readfile($target); +?>