Mercurial > SimpleWebPresenter
diff flag.php @ 39:bd82b719a0de
Make CacheTimeCheck a singleton.
Robustify if_modified_since check.
Quiet warnings.
Set debug levels.
Fix basepath references.
| author | Tom Fredrik "BFG" Klaussen <bfg@blenning.no> |
|---|---|
| date | Fri, 05 Oct 2012 00:21:27 +0200 |
| parents | 42533600214b |
| children | 2cfea6e84694 |
line wrap: on
line diff
--- a/flag.php Thu Oct 04 22:07:19 2012 +0200 +++ b/flag.php Fri Oct 05 00:21:27 2012 +0200 @@ -3,7 +3,7 @@ include_once 'CacheTimeCheck.inc'; -$cache = new CacheTimeCheck(filemtime(__FILE__)); +$cache = CacheTimeCheck::instance(__FILE__); $cache->includeOnce('accept-language.inc'); $cache->includeOnce('common-functions.inc');
