Mercurial > SimpleWebPresenter
diff inputParser.inc @ 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 |
line wrap: on
line diff
--- a/inputParser.inc Thu Oct 04 21:30:57 2012 +0200 +++ b/inputParser.inc Thu Oct 04 22:07:19 2012 +0200 @@ -142,8 +142,7 @@ else { $src = $file->getAttribute("src"); $fname = "${lang}/${src}"; - $options->getCache()->cache_time($fname); - $file_content = loadFile($fname); + $file_content = $options->getCache()->loadFile($fname); } if(floatval($file_content)<0) { errorPage("Resource not found '${lang}/${src}'");
