]> git.wh0rd.org Git - tt-rss.git/commitdiff
init params: add fresh article age
authorAndrew Dolgov <fox@bah.org.ru>
Mon, 13 Sep 2010 14:23:24 +0000 (18:23 +0400)
committerAndrew Dolgov <fox@bah.org.ru>
Mon, 13 Sep 2010 14:23:24 +0000 (18:23 +0400)
functions.php

index 115bdfebd13a51b43f7604d4f111d54b3c79ed48..958ffea8eef8ddc5df07cae4c24f3d59e75c9699 100644 (file)
                print "<param key=\"cdm_auto_catchup\" value=\"" . 
                        (int) get_pref($link, "CDM_AUTO_CATCHUP") . "\"/>";
 
+               print "<param key=\"fresh_article_max_age\" value=\"" . 
+                       (int) get_pref($link, "FRESH_ARTICLE_MAX_AGE") . "\"/>";
+
                print "<param key=\"icons_url\" value=\"" . ICONS_URL . "\"/>";
 
                print "<param key=\"cookie_lifetime\" value=\"" . SESSION_COOKIE_LIFETIME . "\"/>";