comparison 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
comparison
equal deleted inserted replaced
67:37dee99c1f8c 68:4dfa3f6a2dc1
6 include_once 'CacheTimeCheck.inc'; 6 include_once 'CacheTimeCheck.inc';
7 7
8 /// @cond 8 /// @cond
9 $baseDir = dirname(__FILE__); 9 $baseDir = dirname(__FILE__);
10 10
11 $cache = CacheTimeCheck::instance(__FILE__); 11 $cache = ScriptIncludeCache::instance(__FILE__);
12 $cache->includeOnce('StatusCodes.inc', $baseDir); 12 $cache->includeOnce('StatusCodes.inc', $baseDir);
13 /// @endcond 13 /// @endcond
14 14
15 /** 15 /**
16 * Generates a representation for an array of key => value pairs 16 * Generates a representation for an array of key => value pairs