aboutsummaryrefslogtreecommitdiffstats
path: root/include/config.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/config.inc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/config.inc.php b/include/config.inc.php
index e664d37e5..da0fbf0b8 100644
--- a/include/config.inc.php
+++ b/include/config.inc.php
@@ -47,6 +47,8 @@ $conf['site_url'] = 'http://www.phpwebgallery.net';
$conf['forum_url'] = 'http://forum.phpwebgallery.net';
$conf['picture_ext'] = array('jpg','JPG','gif','GIF','png','PNG');
$conf['document_ext'] = array('doc','pdf','zip');
+$conf['top_number'] = 20;
+$conf['anti-flood_time'] = 60; // seconds between 2 comments : 0 to disable
database_connection();
// rertieving the configuration informations for site
@@ -81,5 +83,4 @@ foreach ( $infos as $info ) {
$conf[$info] = get_boolean( $row[$info] );
}
}
-$conf['top_number'] = 20;
?> \ No newline at end of file