view website/switch.php @ 185:415101ff1ac2

Remove whitespaces from unique values string only if it is a concatenation of multiple values.
author raimund renkert <raimund.renkert@intevation.de>
date Wed, 20 Jul 2011 12:32:08 +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)