view website/switch.php @ 322:40442cbfbcc7

Fix invalid quoting for string expressions
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 21 Sep 2012 10:27:26 +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)