]> git.wh0rd.org Git - tt-rss.git/commitdiff
disable md5 update checking by default
authorAndrew Dolgov <fox@bah.spb.su>
Sun, 21 Aug 2005 16:49:53 +0000 (17:49 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sun, 21 Aug 2005 16:49:53 +0000 (17:49 +0100)
config.php-dist
functions.php

index 834925a03a9a3c908d24d0beaeeeaec3e919a863..56d9c13a273f23d599b2bc3238146176f12678a3 100644 (file)
@@ -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);
 ?>
 
index 3e50134721cf9b96e35fc1135fefe985b37ab1d1..f53ceb1cdb5d46164237dbe2755e3ef1b6bd29c3 100644 (file)
@@ -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) {