view website/switch.php @ 174:707f13cfba74

Improved the commandline arguments and save the mapfile in the correct directory.
author raimund.renkert@intevation.de
date Wed, 06 Jul 2011 18:38:40 +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)