Mercurial > SimpleWebPresenter
diff 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 |
line wrap: on
line diff
--- a/index.php Fri Oct 05 00:21:27 2012 +0200 +++ b/index.php Fri Oct 05 00:41:30 2012 +0200 @@ -25,11 +25,11 @@ include_once 'CacheTimeCheck.inc'; $cache = CacheTimeCheck::instance(__FILE__); -$cache->includeOnce('Options.inc'); -$cache->includeOnce('accept-language.inc'); -$cache->includeOnce('common-functions.inc'); -$cache->includeOnce('filters.inc'); -$cache->includeOnce('inputParser.inc'); +$cache->includeOnce('Options.inc', dirname(__FILE__)); +$cache->includeOnce('accept-language.inc', dirname(__FILE__)); +$cache->includeOnce('common-functions.inc', dirname(__FILE__)); +$cache->includeOnce('filters.inc', dirname(__FILE__)); +$cache->includeOnce('inputParser.inc', dirname(__FILE__)); $master = new DOMDocument(); $masterName = basePath() . "/master.xml";
