diff index.php @ 68:4dfa3f6a2dc1

Modify CacheTimeCheck to have a common parent, and two different implementations for script caches and file caches. Support for linkedcaches.
author Tom Fredrik "BFG" Klaussen <bfg@blenning.no>
date Thu, 11 Oct 2012 23:16:53 +0200
parents 7b87ec8b0842
children 218a58bb2f34
line wrap: on
line diff
--- a/index.php	Thu Oct 11 22:30:07 2012 +0200
+++ b/index.php	Thu Oct 11 23:16:53 2012 +0200
@@ -11,7 +11,7 @@
 
 $baseDir = dirname(__FILE__);
 
-$cache = CacheTimeCheck::instance(__FILE__);
+$cache = ScriptIncludeCache::instance(__FILE__);
 $cache->includeOnce('Language.inc', $baseDir);
 $cache->includeOnce('Options.inc', $baseDir);
 $cache->includeOnce('common-functions.inc', $baseDir);