comparison index.php @ 28:ca75a735651e

Bug fix: Remove superfluous print statement. Use include_once.
author Tom Fredrik "BFG" Klaussen <bfg@blenning.no>
date Sun, 30 Sep 2012 03:36:02 +0200
parents d8c7b328899e
children 7b19be62ea94
comparison
equal deleted inserted replaced
27:1ec0738a1623 28:ca75a735651e
15 15
16 $SCRIPT_FILENAME=$_SERVER['SCRIPT_FILENAME']; 16 $SCRIPT_FILENAME=$_SERVER['SCRIPT_FILENAME'];
17 $newest = filemtime($SCRIPT_FILENAME); 17 $newest = filemtime($SCRIPT_FILENAME);
18 $cacheable = true; 18 $cacheable = true;
19 19
20 include 'php/cache_check.inc'; 20 include_once 'php/cache_check.inc';
21 include_with_mtime('php/Options.inc'); 21 include_with_mtime('php/Options.inc');
22 include_with_mtime('php/accept-language.inc'); 22 include_with_mtime('php/accept-language.inc');
23 include_with_mtime('php/common-functions.inc'); 23 include_with_mtime('php/common-functions.inc');
24 include_with_mtime('php/filters.inc'); 24 include_with_mtime('php/filters.inc');
25 include_with_mtime('php/inputParser.inc'); 25 include_with_mtime('php/inputParser.inc');
58 $parent->removeChild($param); 58 $parent->removeChild($param);
59 } 59 }
60 } 60 }
61 61
62 if (CACHING && $cacheable) 62 if (CACHING && $cacheable)
63 print cache_check($newest); 63 cache_check($newest);
64 64
65 print $master->saveXml($master); 65 print $master->saveXml($master);
66 66
67 ?> 67 ?>