Mercurial > SimpleWebPresenter
comparison index.php @ 38:42533600214b
Rename cache_check.inc to CacheTimeCheck.inc.
Proper caching in flag.php.
| author | Tom Fredrik "BFG" Klaussen <bfg@blenning.no> |
|---|---|
| date | Thu, 04 Oct 2012 22:07:19 +0200 |
| parents | 511b6514823f |
| children | bd82b719a0de |
comparison
equal
deleted
inserted
replaced
| 37:da1726860524 | 38:42533600214b |
|---|---|
| 13 ini_set("display_errors", 1); | 13 ini_set("display_errors", 1); |
| 14 } | 14 } |
| 15 | 15 |
| 16 $cacheable = true; | 16 $cacheable = true; |
| 17 | 17 |
| 18 include_once 'php/cache_check.inc'; | 18 include_once 'php/CacheTimeCheck.inc'; |
| 19 | 19 |
| 20 $cache = new CacheTimeCheck(filemtime(__FILE__)); | 20 $cache = new CacheTimeCheck(filemtime(__FILE__)); |
| 21 $cache->includeOnce('php/Options.inc'); | 21 $cache->includeOnce('php/Options.inc'); |
| 22 $cache->includeOnce('php/accept-language.inc'); | 22 $cache->includeOnce('php/accept-language.inc'); |
| 23 $cache->includeOnce('php/common-functions.inc'); | 23 $cache->includeOnce('php/common-functions.inc'); |
