From: Andrew Dolgov Date: Fri, 28 Oct 2005 01:26:50 +0000 (+0100) Subject: added DEFAULT_ARTICLE_LIMIT functionality, patch from adjuster X-Git-Tag: 1.0.7~26 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=f1b9a8ee78ea99abf93997ab42dd3ee93d605438;p=tt-rss.git added DEFAULT_ARTICLE_LIMIT functionality, patch from adjuster --- diff --git a/config.php-dist b/config.php-dist index 6fc6af7f..f7848430 100644 --- a/config.php-dist +++ b/config.php-dist @@ -30,6 +30,13 @@ // crafted SQL queries. This feature is highly experimental and // at this point not user friendly. Use with caution. + define(DEFAULT_ARTICLE_LIMIT, 0); + // default limit for articles to display. Set to 0 for no limit. Not + // limited to the default 15, 30, 60 article limits - you may use + // any number you want and it will be added to the list. Negative + // numbers will be ignored. Anything that evaluates numerically to + // zero will be interpreted as 0. + define(DEFAULT_UPDATE_INTERVAL, 30); // default interval between feed updates, minutes diff --git a/tt-rss.php b/tt-rss.php index 9d8160df..018ab865 100644 --- a/tt-rss.php +++ b/tt-rss.php @@ -103,10 +103,28 @@  Limit:  Feed: