Mercurial > SimpleWebPresenter
comparison index.php @ 40:fbbb82ced6de
Fixes for CacheTimeCheck->includeOnce paths.
| author | Tom Fredrik "BFG" Klaussen <bfg@blenning.no> |
|---|---|
| date | Fri, 05 Oct 2012 00:41:30 +0200 |
| parents | bd82b719a0de |
| children | 2a3ff56697db |
comparison
equal
deleted
inserted
replaced
| 39:bd82b719a0de | 40:fbbb82ced6de |
|---|---|
| 23 $cacheable = true; | 23 $cacheable = true; |
| 24 | 24 |
| 25 include_once 'CacheTimeCheck.inc'; | 25 include_once 'CacheTimeCheck.inc'; |
| 26 | 26 |
| 27 $cache = CacheTimeCheck::instance(__FILE__); | 27 $cache = CacheTimeCheck::instance(__FILE__); |
| 28 $cache->includeOnce('Options.inc'); | 28 $cache->includeOnce('Options.inc', dirname(__FILE__)); |
| 29 $cache->includeOnce('accept-language.inc'); | 29 $cache->includeOnce('accept-language.inc', dirname(__FILE__)); |
| 30 $cache->includeOnce('common-functions.inc'); | 30 $cache->includeOnce('common-functions.inc', dirname(__FILE__)); |
| 31 $cache->includeOnce('filters.inc'); | 31 $cache->includeOnce('filters.inc', dirname(__FILE__)); |
| 32 $cache->includeOnce('inputParser.inc'); | 32 $cache->includeOnce('inputParser.inc', dirname(__FILE__)); |
| 33 | 33 |
| 34 $master = new DOMDocument(); | 34 $master = new DOMDocument(); |
| 35 $masterName = basePath() . "/master.xml"; | 35 $masterName = basePath() . "/master.xml"; |
| 36 $master->load($masterName); | 36 $master->load($masterName); |
| 37 | 37 |
