diff --git a/config.php-dist b/config.php-dist index 834925a0..56d9c13a 100644 --- a/config.php-dist +++ b/config.php-dist @@ -3,5 +3,6 @@ define('MAGPIE_CACHE_DIR', '/var/tmp/magpie-ttrss-cache'); define(HEADLINES_PER_PAGE, 15); define(MIN_UPDATE_TIME, 600); + define(CONTENT_CHECK_MD5, false); ?> diff --git a/functions.php b/functions.php index 3e501347..f53ceb1c 100644 --- a/functions.php +++ b/functions.php @@ -72,8 +72,8 @@ $unread = pg_fetch_result($result, 0, "unread"); $md5_hash = pg_fetch_result($result, 0, "md5_hash"); - - if ($md5_hash != $content_md5) + + if ($md5_hash != $content_md5 && CONTENT_CHECK_MD5) $unread = "true"; if ($unread) {