3 * This software is governed by the CeCILL-B license. If a copy of this license
4 * is not distributed with this file, you can obtain one at
5 * http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.txt
7 * Authors of STUdS (initial project): Guilhem BORGHESI (borghesi@unistra.fr) and Raphaël DROZ
8 * Authors of Framadate/OpenSondate: Framasoft (https://github.com/framasoft)
10 * =============================
12 * Ce logiciel est régi par la licence CeCILL-B. Si une copie de cette licence
13 * ne se trouve pas avec ce fichier vous pouvez l'obtenir sur
14 * http://www.cecill.info/licences/Licence_CeCILL-B_V1-fr.txt
16 * Auteurs de STUdS (projet initial) : Guilhem BORGHESI (borghesi@unistra.fr) et Raphaël DROZ
17 * Auteurs de Framadate/OpenSondage : Framasoft (https://github.com/framasoft)
24 const STUDS_URL = '<www.mydomain.com>';
27 const NOMAPPLICATION = "<Application name>";
29 // Database administrator email
30 const ADRESSEMAILADMIN = '<email address>';
32 // Email for automatic responses (you should set it to "no-reply")
33 const ADRESSEMAILREPONSEAUTO = '<no-reply@mydomain.com>';
36 const BASE = '<database name>';
39 const USERBASE = "<database user>";
42 const USERPASSWD = '<database password>';
44 // Database server name, leave empty to use a socket
45 const SERVEURBASE = '<database server>';
47 // Database type (mysql, postgres…) http://phplens.com/lens/adodb/docs-adodb.htm#drivers
48 const BASE_TYPE = '<database type>';
50 // Default Language using POSIX variant of BC P47 standard (choose in $ALLOWED_LANGUAGES)
51 const LANGUE = 'fr_FR';
53 // List of supported languages, fake constant as arrays can be used as constants only in PHP >=5.6
54 $ALLOWED_LANGUAGES = [
55 'fr_FR' => 'Français',
59 'it_IT' => 'Italiano',
63 const LOGOBANDEAU = '<relative path to the logo file>';
65 // Path to logo in PDF export
66 const LOGOLETTRE = '<relative path to the logo file for pdf>';
68 // Nom et emplacement du fichier image contenant le titre
69 const IMAGE_TITRE = 'images/logo-framadate.png';
71 // Clean URLs, boolean
72 const URL_PROPRE = false;
74 // Use REMOTE_USER data provided by web server
75 const USE_REMOTE_USER = true;
77 const COMMENT_EMPTY = 0x0000000001;
78 const COMMENT_USER_EMPTY = 0x0000000010;
79 const COMMENT_INSERT_FAILED = 0x0000000100;
80 const NAME_EMPTY = 0x0000001000;
81 const NAME_TAKEN = 0x0000010000;
82 const NO_POLL = 0x0000100000;
83 const NO_POLL_ID = 0x0001000000;
84 const INVALID_EMAIL = 0x0010000000;
85 const TITLE_EMPTY = 0x0100000000;
86 const INVALID_DATE = 0x1000000000;
91 'use_smtp' => true, // use email for polls creation/modification/responses notification
93 'show_what_is_that' => true, // display "how to use" section
94 'show_the_software' => true, // display technical information about the software
95 'show_cultivate_your_garden' => true, // display "developpement and administration" information
96 /* choix_autre.php / choix_date.php */
97 'default_poll_duration' => 180, // default values for the new poll duration (number of days).
99 'user_can_add_img_or_link' => true, // user can add link or URL when creating his poll.