Mercurial > SimpleWebPresenter
changeset 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 | 1ec0738a1623 |
| children | 394b5df43d1a |
| files | index.php |
| diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/index.php Sun Sep 30 03:35:17 2012 +0200 +++ b/index.php Sun Sep 30 03:36:02 2012 +0200 @@ -17,7 +17,7 @@ $newest = filemtime($SCRIPT_FILENAME); $cacheable = true; -include 'php/cache_check.inc'; +include_once 'php/cache_check.inc'; include_with_mtime('php/Options.inc'); include_with_mtime('php/accept-language.inc'); include_with_mtime('php/common-functions.inc'); @@ -60,7 +60,7 @@ } if (CACHING && $cacheable) - print cache_check($newest); + cache_check($newest); print $master->saveXml($master);
