Mercurial > SimpleWebPresenter
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 38:42533600214b | 39:bd82b719a0de |
|---|---|
| 1 <?php | 1 <?php |
| 2 define(DEBUG,0); | 2 define(DEBUG,0); |
| 3 | 3 |
| 4 include_once 'CacheTimeCheck.inc'; | 4 include_once 'CacheTimeCheck.inc'; |
| 5 | 5 |
| 6 $cache = new CacheTimeCheck(filemtime(__FILE__)); | 6 $cache = CacheTimeCheck::instance(__FILE__); |
| 7 $cache->includeOnce('accept-language.inc'); | 7 $cache->includeOnce('accept-language.inc'); |
| 8 $cache->includeOnce('common-functions.inc'); | 8 $cache->includeOnce('common-functions.inc'); |
| 9 | 9 |
| 10 $active = $_GET['active']; | 10 $active = $_GET['active']; |
| 11 $lang = $_GET['lang']; | 11 $lang = $_GET['lang']; |
