diff --git a/config.php-dist b/config.php-dist index 834925a03..56d9c13a2 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 3e5013472..f53ceb1cd 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) {