diff options
author | plegall <plg@piwigo.org> | 2012-12-06 14:19:12 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2012-12-06 14:19:12 +0000 |
commit | 36d1ab0e3eb3663752dac926e2eb616af1f4a6f5 (patch) | |
tree | 15d3172d0c674efd2923dea48fe83094c2904290 /include | |
parent | b70a6d7709a9b4a222764b8b14145e5f657b5666 (diff) |
feature 2798: let the webmaster decide how many comments to display on
comments.php by default
git-svn-id: http://piwigo.org/svn/trunk@19303 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | include/config_default.inc.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/config_default.inc.php b/include/config_default.inc.php index d9b807f36..2901e049d 100644 --- a/include/config_default.inc.php +++ b/include/config_default.inc.php @@ -299,6 +299,11 @@ $conf['graphics_library'] = 'auto'; // you can define imagemagick directory. $conf['ext_imagick_dir'] = ''; +// how many user comments to display by default on comments.php. Use 'all' +// to display all user comments without pagination. Default available values +// are array(5,10,20,50,'all') but you can set any other numeric value. +$conf['comments_page_nb_comments'] = 10; + // +-----------------------------------------------------------------------+ // | metadata | // +-----------------------------------------------------------------------+ |