view website/switch.php @ 212:011ec33e84b4

* website/.htaccess, website/buildhtml.mk, website/switch.php: added an rsync-switch to transfer symlinks as files (-L), reworked the details language-switch inside the PHP-script.
author Stephan Holl <stephan.holl@intevation.de>
date Fri, 22 Jul 2011 13:35:25 +0200
parents 123ebb293f3a
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)