mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 06:45:56 +00:00
disable md5 update checking by default
This commit is contained in:
@@ -3,5 +3,6 @@
|
|||||||
define('MAGPIE_CACHE_DIR', '/var/tmp/magpie-ttrss-cache');
|
define('MAGPIE_CACHE_DIR', '/var/tmp/magpie-ttrss-cache');
|
||||||
define(HEADLINES_PER_PAGE, 15);
|
define(HEADLINES_PER_PAGE, 15);
|
||||||
define(MIN_UPDATE_TIME, 600);
|
define(MIN_UPDATE_TIME, 600);
|
||||||
|
define(CONTENT_CHECK_MD5, false);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|||||||
@@ -72,8 +72,8 @@
|
|||||||
|
|
||||||
$unread = pg_fetch_result($result, 0, "unread");
|
$unread = pg_fetch_result($result, 0, "unread");
|
||||||
$md5_hash = pg_fetch_result($result, 0, "md5_hash");
|
$md5_hash = pg_fetch_result($result, 0, "md5_hash");
|
||||||
|
|
||||||
if ($md5_hash != $content_md5)
|
if ($md5_hash != $content_md5 && CONTENT_CHECK_MD5)
|
||||||
$unread = "true";
|
$unread = "true";
|
||||||
|
|
||||||
if ($unread) {
|
if ($unread) {
|
||||||
|
|||||||
Reference in New Issue
Block a user