liens et images autorisés par défaut + purge auto limitée à 50 pour 1 créé

This commit is contained in:
FramaJosephK 2014-11-13 21:33:20 +01:00
parent db7d21b326
commit e0ff6ec0e7
2 changed files with 19 additions and 21 deletions

View File

@ -252,7 +252,7 @@ class Utils
public static function cleaning_polls($connect, $log_txt) {
$connect->StartTrans();
$req = 'SELECT * FROM sondage WHERE date_fin < NOW()';
$req = 'SELECT * FROM sondage WHERE date_fin < NOW() LIMIT 50';
$sql = $connect->Prepare($req);
$cleaning = $connect->Execute($sql);

View File

@ -16,34 +16,32 @@
* Auteurs de STUdS (projet initial) : Guilhem BORGHESI (borghesi@unistra.fr) et Raphaël DROZ
* Auteurs de Framadate/OpenSondage : Framasoft (https://git.framasoft.org/framasoft/framadate)
*/
/**
* general configuration
*/
//use email for polls creation/modification/responses notification
$use_smtp = true;
//use email for polls creation/modification/responses notification
$use_smtp = true;
/**
* index.php
*/
//display "how to use" section
$show_what_is_that = true;
//display technical information about the software
$show_the_software = true;
//display "how to use" section
$show_what_is_that = true;
//display technical information about the software
$show_the_software = true;
//display "developpement and administration" information
$show_cultivate_your_garden = true;
//display "developpement and administration" information
$show_cultivate_your_garden = true;
/**
* choix_autre.php
*/
//default values for the new poll duration (number of days).
$default_poll_duration = 30;
//user can add link or URL when creating his poll.
$user_can_add_link_or_url = false;
//default values for the new poll duration (number of days).
$default_poll_duration = 30;
//user can add link or URL when creating his poll.
$user_can_add_link_or_url = true;