From 27456258e6da5d274ee881c95760c51506479a2b Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Thu, 28 Nov 2013 10:46:11 +0100 Subject: Touch plus standard Corrige https://github.com/marienfressinaud/FreshRSS/issues/296 --- public/index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'public') diff --git a/public/index.php b/public/index.php index 5728d981b..9d1ee711c 100755 --- a/public/index.php +++ b/public/index.php @@ -26,9 +26,9 @@ if (file_exists ('install.php')) { session_cache_limiter(''); require (LIB_PATH . '/http-conditional.php'); $dateLastModification = max( - @filemtime(DATA_PATH . '/touch.txt'), - @filemtime(LOG_PATH . '/application.log'), - @filemtime(DATA_PATH . '/application.ini') + @filemtime(DATA_PATH . '/touch.txt') - 1, + @filemtime(LOG_PATH . '/application.log') - 1, + @filemtime(DATA_PATH . '/application.ini') - 1 ); if (httpConditional($dateLastModification, 0, 0, false, false, true)) { exit(); //No need to send anything -- cgit v1.2.3