Mercurial > SimpleWebPresenter
comparison common-functions.inc @ 69:dd4ddedca4c5
Add convenience header ScriptIncludeCache
Split CacheTimeCheck and FileCacheSet
| author | Tom Fredrik "BFG" Klaussen <bfg@blenning.no> |
|---|---|
| date | Thu, 11 Oct 2012 23:32:14 +0200 |
| parents | 4dfa3f6a2dc1 |
| children | 947d53f95ccd |
comparison
equal
deleted
inserted
replaced
| 68:4dfa3f6a2dc1 | 69:dd4ddedca4c5 |
|---|---|
| 1 <?php | 1 <?php |
| 2 /** | 2 /** |
| 3 * @file | 3 * @file |
| 4 * Functionality which doesn't belong anywhere else | 4 * Functionality which doesn't belong anywhere else |
| 5 */ | 5 */ |
| 6 include_once 'CacheTimeCheck.inc'; | 6 include_once 'ScriptIncludeCache.inc'; |
| 7 | 7 |
| 8 /// @cond | 8 /// @cond |
| 9 $baseDir = dirname(__FILE__); | 9 $baseDir = dirname(__FILE__); |
| 10 | 10 |
| 11 $cache = ScriptIncludeCache::instance(__FILE__); | 11 $cache = ScriptIncludeCache::instance(__FILE__); |
