changeset 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 d8c7b328899e
children ca75a735651e
files cache_check.inc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cache_check.inc	Sun Sep 30 00:16:58 2012 +0200
+++ b/cache_check.inc	Sun Sep 30 03:35:17 2012 +0200
@@ -28,7 +28,7 @@
 function include_with_mtime($path)
 {
   cache_time($path);
-  include($path);
+  include_once($path);
 }
 
 cache_time(__FILE__);