comparison cache_check.inc @ 27:1ec0738a1623

Include only once using cache include.
author Tom Fredrik "BFG" Klaussen <bfg@blenning.no>
date Sun, 30 Sep 2012 03:35:17 +0200
parents ccfddd7fba1b
children 7b19be62ea94
comparison
equal deleted inserted replaced
26:d8c7b328899e 27:1ec0738a1623
26 } 26 }
27 27
28 function include_with_mtime($path) 28 function include_with_mtime($path)
29 { 29 {
30 cache_time($path); 30 cache_time($path);
31 include($path); 31 include_once($path);
32 } 32 }
33 33
34 cache_time(__FILE__); 34 cache_time(__FILE__);
35 ?> 35 ?>