Mercurial > mxd2map
annotate website/switch.php @ 202:1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
doku/source/conf.py, doku/source/functionality.txt,
doku/source/index.txt, doku/source/restrictions.txt: Added some
formatting, a section about the setup of environment vars needed
for runtime, added some more features.
author | Stephan Holl <stephan.holl@intevation.de> |
---|---|
date | Thu, 21 Jul 2011 09:38:44 +0200 |
parents | 123ebb293f3a |
children | 011ec33e84b4 |
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: | |
195
123ebb293f3a
* website/.htaccess,
Stephan Holl <stephan.holl@intevation.de>
parents:
159
diff
changeset
|
8 $target = "index-de.html"; |
155 | 9 } |
10 readfile($target); | |
11 ?> |