changeset 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 bdf58d5b7d92
children 5de3a2b7428e
files ChangeLog website/.htaccess website/buildhtml.mk website/switch.php
diffstat 4 files changed, 10 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Jul 22 13:24:36 2011 +0200
+++ b/ChangeLog	Fri Jul 22 13:35:25 2011 +0200
@@ -1,3 +1,9 @@
+2011-07-22  Stephan Holl  <stephan.holl@intevation.de>
+
+	* 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.
+
 2011-07-22  Stephan Holl  <stephan.holl@intevation.de>
 
 Added an english translation of the website.
--- a/website/.htaccess	Fri Jul 22 13:24:36 2011 +0200
+++ b/website/.htaccess	Fri Jul 22 13:35:25 2011 +0200
@@ -1,2 +1,2 @@
-DirectoryIndex index-de.html
-ErrorDocument 404 /404-de.html
+DirectoryIndex switch.php
+ErrorDocument 404 /404.html
--- a/website/buildhtml.mk	Fri Jul 22 13:24:36 2011 +0200
+++ b/website/buildhtml.mk	Fri Jul 22 13:35:25 2011 +0200
@@ -41,7 +41,7 @@
 
 online: all
 	echo "Going to put current contents online for www.mxd2mapp.org ..."
-	rsync -urvP --exclude='.hg' $(ADD_INST_TYPES) $(TARGETS) $(ADD_INST_DIRS) \
+	rsync -urvPL --exclude='.hg' $(ADD_INST_TYPES) $(TARGETS) $(ADD_INST_DIRS) \
         sholl@wald.intevation.org:/mxd2map/htdocs/
 
 install: all
--- a/website/switch.php	Fri Jul 22 13:24:36 2011 +0200
+++ b/website/switch.php	Fri Jul 22 13:35:25 2011 +0200
@@ -5,7 +5,7 @@
    $target = "index-de.html";
    break;
  default:
-   $target = "index-de.html";
+   $target = "index.html";
  }
 readfile($target);
 ?>
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)