mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-08 09:43:01 +02:00
anti-flood system
git-svn-id: http://piwigo.org/svn/trunk@41 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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;
|
||||
?>
|
||||
Reference in New Issue
Block a user