Mercurial > mxd2map
view website/switch.php @ 208:0c58db91311c
* contrib/python/generateHTML.py: New. Script for generating a
HTML-page with links to mapfiles. Useful when converting a bunch
of MXD-files to mapfiles in order to test.
It generates an OpenLayers-Link for every included layer though.
author | Stephan Holl <stephan.holl@intevation.de> |
---|---|
date | Fri, 22 Jul 2011 09:45:47 +0200 |
parents | 123ebb293f3a |
children | 011ec33e84b4 |
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-de.html"; } readfile($target); ?>