Share date db with Termine/
authorJoey Schulze <joey@infodrom.org>
Mon, 21 Jul 2008 07:54:45 +0000 (07:54 +0000)
committerJoey Schulze <joey@infodrom.org>
Mon, 21 Jul 2008 07:54:45 +0000 (07:54 +0000)
src/index.wml

index 64036dd..529b3eb 100644 (file)
@@ -2,10 +2,12 @@
 #include <tools.inc>
 
 <?
+setlocale(LC_TIME, "de_DE");
+
 $max_news = 2;
 $max_age = 7;
 $newsdir = "News";
-$datedb = "Termine/dates.txt";
+$datedb = "Termine/dates-".date("Y").".txt";
 $max_days = 14;
 
 function next_date()