diff common-functions.inc @ 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 74f7b64bdb78
children dd4ddedca4c5
line wrap: on
line diff
--- a/common-functions.inc	Thu Oct 11 22:30:07 2012 +0200
+++ b/common-functions.inc	Thu Oct 11 23:16:53 2012 +0200
@@ -8,7 +8,7 @@
 /// @cond
 $baseDir = dirname(__FILE__);
 
-$cache = CacheTimeCheck::instance(__FILE__);
+$cache = ScriptIncludeCache::instance(__FILE__);
 $cache->includeOnce('StatusCodes.inc', $baseDir);
 /// @endcond