Mercurial > mxd2map
annotate website/switch.php @ 324:5e7e6d99f997
Make mapserver install location version independent
* src/java/de/intevation/mxd/writer/MapScriptWriter.java,
mxd/connections/SDE/sde_areas.txt,
contrib/installer/bin/ms_6.1-dev/Readme.txt,
contrib/installer/bin/MXD2map-Shell.bat,
INSTALL.txt HowTo-Release.txt: Make mapserver install location
version independent s/ms-6.1-dev/mapserver/g
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Mon, 15 Oct 2012 09:02:01 +0000 |
parents | 011ec33e84b4 |
children |
rev | line source |
---|---|
155 | 1 <?PHP |
2 switch ($_SERVER["HTTP_HOST"]) { | |
195
123ebb293f3a
* website/.htaccess,
Stephan Holl <stephan.holl@intevation.de>
parents:
159
diff
changeset
|
3 case "www.mxd2map.org": |
123ebb293f3a
* website/.htaccess,
Stephan Holl <stephan.holl@intevation.de>
parents:
159
diff
changeset
|
4 case "mxd2map.org": |
155 | 5 $target = "index-de.html"; |
6 break; | |
7 default: | |
212
011ec33e84b4
* website/.htaccess, website/buildhtml.mk, website/switch.php:
Stephan Holl <stephan.holl@intevation.de>
parents:
195
diff
changeset
|
8 $target = "index.html"; |
155 | 9 } |
10 readfile($target); | |
11 ?> |