view website/switch.php @ 238:e672f5134d6e

Remove all non numeric chars from port string.
author raimund renkert <raimund.renkert@intevation.de>
date Mon, 08 Aug 2011 17:06:17 +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)