From 57865bb1f090bad54cb7df29713cf7c7ac9ba9f2 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 21 Aug 2005 17:49:53 +0100 Subject: [PATCH] disable md5 update checking by default --- config.php-dist | 1 + functions.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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) { -- 2.39.5