view website/switch.php @ 231:656da3f693b8

Adding a directory-index to the documentation
author Stephan Holl <stephan.holl@intevation.de>
date Thu, 28 Jul 2011 16:30:22 +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);
?>
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)