anti-flood system

git-svn-id: http://piwigo.org/svn/trunk@41 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
z0rglub
2003-07-26 12:38:20 +00:00
parent e1c6bb32bc
commit a7eb0781cf
3 changed files with 39 additions and 19 deletions
+2 -1
View File
@@ -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;
?>