Mercurial > SimpleWebPresenter
comparison cache_check.inc @ 19:ee2c31392ea3
Merge
Regression, fast cache-checking has been removed.
| author | Tom Fredrik "BFG" Klaussen <bfg@blenning.no> |
|---|---|
| date | Wed, 19 Sep 2012 15:50:18 +0200 |
| parents | d5068ced2ad1 |
| children | 5dc5cc27471d |
comparison
equal
deleted
inserted
replaced
| 18:d5068ced2ad1 | 19:ee2c31392ea3 |
|---|---|
| 21 $mtime = filemtime($path); | 21 $mtime = filemtime($path); |
| 22 if ($mtime > $newest) { | 22 if ($mtime > $newest) { |
| 23 $newest = $mtime; | 23 $newest = $mtime; |
| 24 } | 24 } |
| 25 } | 25 } |
| 26 | |
| 27 function include_with_mtime($path) { | |
| 28 cache_time($path); | |
| 29 include($path); | |
| 30 } | |
| 31 | |
| 32 cache_time('php/cache_check.inc'); | |
| 26 ?> | 33 ?> |
