changeset 65:2cfb0a7eac9b

Rename some data files.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 24 Oct 2012 03:25:57 +0300
parents 6900beff8789
children 6315df2faeec
files index.php update.sh
diffstat 2 files changed, 7 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/index.php	Wed Oct 24 03:23:04 2012 +0300
+++ b/index.php	Wed Oct 24 03:25:57 2012 +0300
@@ -1,12 +1,14 @@
 <?php
 //
-// Yes, this is horrible. :|
+// Lukkari v2.0
+// (C) Copyright 2010 - 2012 Matti 'ccr' Hämäläinen <ccr@tnsp.org>
+// Yes, this code is rather horrible. :|
 //
 $pageLang = "fi";
 $pageCharset = "utf-8";
 $internalCharset = "utf-8";
 $classDefault = "TTE9SNO";
-$classFile = "luokat.txt";
+$classFile = "classes.txt";
 $cacheFile = "coursecache.txt";
 $baseURI = "http://tnsp.org/luk/";
 
--- a/update.sh	Wed Oct 24 03:23:04 2012 +0300
+++ b/update.sh	Wed Oct 24 03:25:57 2012 +0300
@@ -70,8 +70,8 @@
 }
 
 CACHEDIR="cache/"
-parse "http://www.oamk.fi/tyojarjestykset/otek/luokat/" "luokat.txt" "OR_"
-#parse "http://www.oamk.fi/~heikkim/riihi2/Oppilaat/" "luokat.txt" "Ryh._"
+parse "http://www.oamk.fi/tyojarjestykset/otek/luokat/" "classes.txt" "OR_"
+#parse "http://www.oamk.fi/~heikkim/riihi2/Oppilaat/" "classes.txt" "Ryh._"
 
 CACHEDIR="cache-next/"
-parse "http://www.oamk.fi/~heikkim/riihi2/Oppilaat/" "luokat_next.txt" "Ryh._"
+parse "http://www.oamk.fi/~heikkim/riihi2/Oppilaat/" "classes_next.txt" "Ryh._"