Mercurial > mxd2map
view website/switch.php @ 311:c8b8f887ef80
Add write support for Fgdb layers and make it possible
to remove a prefix from the expressions. The expressions
returned by arcgis for Fgdb data contain the data source
name as a prefix. Mapserver does not need it and does not
match those expressions so they have to be removed
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Fri, 14 Sep 2012 11:54:03 +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); ?>