view website/switch.php @ 182:91e2d46d7968

Added functionality, restrictions and how to build runtime enviroment to documentation.
author Raimund Renkert <rrenkert@intevation.de>
date Mon, 18 Jul 2011 15:12:24 +0200
parents 579b94f442a9
children 123ebb293f3a
line wrap: on
line source
<?PHP
switch ($_SERVER["HTTP_HOST"]) {
 case "www.mapwoc.de":
 case "mapwoc.de":
   $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)