comparison index.php @ 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 0c3c27de6710
comparison
equal deleted inserted replaced
158:06f3f07ec5b8 159:66f3f02d5172
478 { 478 {
479 $nextPeriod = FALSE; 479 $nextPeriod = FALSE;
480 $cachePath = "cache/"; 480 $cachePath = "cache/";
481 } 481 }
482 482
483 // Get original base URI data
484 $origBaseURI = "";
483 if (file_exists($cachePath."baseuri.data")) 485 if (file_exists($cachePath."baseuri.data"))
484 {
485 require $cachePath."baseuri.data"; 486 require $cachePath."baseuri.data";
486 }
487 487
488 488
489 // Global cache for course data 489 // Global cache for course data
490 $cache = array(); 490 $cache = array();
491 $cacheDirty = FALSE; 491 $cacheDirty = FALSE;