Mercurial > SimpleWebPresenter
comparison cache_check.inc @ 18:d5068ced2ad1
Remove debug variable output.
| author | Tom Fredrik "BFG" Klaussen <bfg@blenning.no> |
|---|---|
| date | Wed, 19 Sep 2012 14:41:22 +0200 |
| parents | 75ab765300d1 |
| children | ee2c31392ea3 |
comparison
equal
deleted
inserted
replaced
| 17:75ab765300d1 | 18:d5068ced2ad1 |
|---|---|
| 18 | 18 |
| 19 function cache_time($path) { | 19 function cache_time($path) { |
| 20 global $newest; | 20 global $newest; |
| 21 $mtime = filemtime($path); | 21 $mtime = filemtime($path); |
| 22 if ($mtime > $newest) { | 22 if ($mtime > $newest) { |
| 23 print $newest; | |
| 24 $newest = $mtime; | 23 $newest = $mtime; |
| 25 } | 24 } |
| 26 } | 25 } |
| 27 ?> | 26 ?> |
