Updating config.tpl from config.template.php

This commit is contained in:
Antonin 2016-05-04 01:01:11 +02:00
parent 77de8f38e7
commit 59f437d80e

View File

@ -53,6 +53,7 @@ const DEFAULT_LANGUAGE = '{$defaultLanguage}';
$ALLOWED_LANGUAGES = [ $ALLOWED_LANGUAGES = [
'fr' => 'Français', 'fr' => 'Français',
'en' => 'English', 'en' => 'English',
'oc' => 'Occitan',
'es' => 'Español', 'es' => 'Español',
'de' => 'Deutsch', 'de' => 'Deutsch',
'it' => 'Italiano', 'it' => 'Italiano',
@ -73,6 +74,12 @@ const LOG_FILE = 'admin/stdout.log';
// Days (after expiration date) before purge a poll // Days (after expiration date) before purge a poll
const PURGE_DELAY = 60; const PURGE_DELAY = 60;
// Max slots per poll
const MAX_SLOTS_PER_POLL = 366;
// Number of seconds before we allow to resend an "Remember Edit Link" email.
const TIME_EDIT_LINK_EMAIL = 60;
// Config // Config
$config = [ $config = [
/* general config */ /* general config */
@ -86,4 +93,3 @@ $config = [
/* create_classic_poll.php */ /* create_classic_poll.php */
'user_can_add_img_or_link' => true, // user can add link or URL when creating his poll. 'user_can_add_img_or_link' => true, // user can add link or URL when creating his poll.
]; ];