Mercurial > mxd2map
view website/switch.php @ 186:1391f911ee39
Add quotes to an expression if the value is a string.
author | raimund renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 20 Jul 2011 12:40:11 +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); ?>