changeset 159:66f3f02d5172

Add default (empty string) value for origBaseURI variable.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 09 Feb 2015 16:33:27 +0200
parents 06f3f07ec5b8
children a84b40bc2a99
files index.php
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/index.php	Mon Feb 09 16:22:21 2015 +0200
+++ b/index.php	Mon Feb 09 16:33:27 2015 +0200
@@ -480,10 +480,10 @@
   $cachePath = "cache/";
 }
 
+// Get original base URI data
+$origBaseURI = "";
 if (file_exists($cachePath."baseuri.data"))
-{
   require $cachePath."baseuri.data";
-}
 
 
 // Global cache for course data