Mercurial > mxd2map
view website/switch.php @ 247:30e10eb9ac68
Print out a message if an empty layer is not written to the mapfile.
author | raimund renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 10 Aug 2011 13:23:29 +0200 |
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); ?>