view website/switch.php @ 310:be441fa4bed0

Throw an exception in case reading Raster layer fails
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 14 Sep 2012 11:50:40 +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)