Mercurial > mxd2map
diff website/switch.php @ 159:579b94f442a9
moved to subfolder website
author | Stephan Holl <stephan.holl@intevation.de> |
---|---|
date | Thu, 30 Jun 2011 12:30:33 +0200 |
parents | switch.php@5a882b5773c9 |
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:30:33 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); +?>