aboutsummaryrefslogtreecommitdiffstats
path: root/include/config_default.inc.php
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-03-04 22:40:28 +0000
committerrub <rub@piwigo.org>2007-03-04 22:40:28 +0000
commite06d9ae13df4563779988a251ebd11f58f091179 (patch)
tree1264f9b6a26fd9bc84c906d2932f5a3756baff7e /include/config_default.inc.php
parentbd3f9519fe5d13b8ca21021b8445d5e781cb538b (diff)
Add on $conf value of the function get_recent_post_dates
git-svn-id: http://piwigo.org/svn/trunk@1871 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/config_default.inc.php')
-rw-r--r--include/config_default.inc.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/config_default.inc.php b/include/config_default.inc.php
index 5879fe2d8..e6d947514 100644
--- a/include/config_default.inc.php
+++ b/include/config_default.inc.php
@@ -577,6 +577,12 @@ $conf['nbm_max_treatment_timeout_percent'] = 0.8;
// nbm_treatment_timeout_default is used by default
$conf['nbm_treatment_timeout_default'] = 20;
+// Parameters used in get_recent_post_dates for the 2 kind of notification
+$conf['recent_post_dates'] = array(
+ 'RSS' => array('max_dates' => 5, 'max_elements' => 6, 'max_cats' => 6),
+ 'NBM' => array('max_dates' => 7, 'max_elements' => 3, 'max_cats' => 9)
+ );
+
// +-----------------------------------------------------------------------+
// | Set default admin layout |
// +-----------------------------------------------------------------------+