Mercurial > SimpleWebPresenter
diff sitemap.php @ 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 | 37dee99c1f8c |
| children | 947d53f95ccd |
line wrap: on
line diff
--- a/sitemap.php Thu Oct 11 23:16:53 2012 +0200 +++ b/sitemap.php Thu Oct 11 23:32:14 2012 +0200 @@ -14,15 +14,12 @@ xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"> '; -include_once 'CacheTimeCheck.inc'; +include_once 'ScriptIncludeCache.inc'; /// @cond $baseDir = dirname(__FILE__); -$cache = CacheTimeCheck::instance(__FILE__); +$cache = ScriptIncludeCache::instance(__FILE__); $cache->includeOnce('common-functions.inc', $baseDir); - - -$cache = CacheTimeCheck::instance(__FILE__); $cache->includeOnce('Options.inc', dirname(__FILE__)); /// @endcond
