Mercurial > mxd2map
view website/switch.php @ 284:b48bcd1ab1ab
Added example for Query-layers
author | Stephan Holl <stephan.holl@intevation.de> |
---|---|
date | Thu, 10 Nov 2011 10:15:24 +0100 |
parents | 011ec33e84b4 |
children |
line wrap: on
line source
<?PHP switch ($_SERVER["HTTP_HOST"]) { case "www.mxd2map.org": case "mxd2map.org": $target = "index-de.html"; break; default: $target = "index.html"; } readfile($target); ?>