diff options
author | z0rglub <z0rglub@piwigo.org> | 2003-07-26 12:38:20 +0000 |
---|---|---|
committer | z0rglub <z0rglub@piwigo.org> | 2003-07-26 12:38:20 +0000 |
commit | a7eb0781cf7d5e6d3ba5673b2105656c5bca6712 (patch) | |
tree | 5fbb1f89f80fac62ecf5b0016c4b3dea31da8a2b /include/config.inc.php | |
parent | e1c6bb32bc52829b241cf9fd80bf0216935d3faf (diff) |
anti-flood system
git-svn-id: http://piwigo.org/svn/trunk@41 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | include/config.inc.php | 3 |
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 |