disable md5 update checking by default
This commit is contained in:
parent
3dbea71b03
commit
57865bb1f0
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue