'; // Database administrator email const ADRESSEMAILADMIN = ''; // Email for automatic responses (you should set it to "no-reply") const ADRESSEMAILREPONSEAUTO = ''; // Database user const DB_USER= ''; // Database password const DB_PASSWORD = ''; // Database server name, leave empty to use a socket const DB_CONNECTION_STRING = 'mysql:host=;dbname=;port='; // Name of the table that store migration script already executed const MIGRATION_TABLE = 'framadate_migration'; // Table name prefix const TABLENAME_PREFIX = 'fd_'; // Default Language using POSIX variant of BC P47 standard (choose in $ALLOWED_LANGUAGES) const LANGUE = 'fr_FR'; // List of supported languages, fake constant as arrays can be used as constants only in PHP >=5.6 $ALLOWED_LANGUAGES = [ 'fr_FR' => 'Français', 'en_GB' => 'English', 'es_ES' => 'Español', 'de_DE' => 'Deutsch', ]; // Regex const POLL_REGEX = '/^[a-z0-9]+$/'; const CHOICE_REGEX = '/^[012]$/'; const NAME_REGEX = '/(*UTF8)^[[:alnum:]_ -]+$/i'; // Path to logo const LOGOBANDEAU = ''; // Path to logo in PDF export const LOGOLETTRE = ''; // Nom et emplacement du fichier image contenant le titre const IMAGE_TITRE = 'images/logo-framadate.png'; // Clean URLs, boolean const URL_PROPRE = false; // Use REMOTE_USER data provided by web server const USE_REMOTE_USER = true; // Path to the log file const LOG_FILE = 'admin/stdout.log'; const COMMENT_EMPTY = 0x0000000001; const COMMENT_USER_EMPTY = 0x0000000010; const COMMENT_INSERT_FAILED = 0x0000000100; const NAME_EMPTY = 0x0000001000; const NAME_TAKEN = 0x0000010000; const NO_POLL = 0x0000100000; const NO_POLL_ID = 0x0001000000; const INVALID_EMAIL = 0x0010000000; const TITLE_EMPTY = 0x0100000000; const INVALID_DATE = 0x1000000000; // Config $config = [ /* general config */ 'use_smtp' => true, // use email for polls creation/modification/responses notification /* home */ 'show_what_is_that' => true, // display "how to use" section 'show_the_software' => true, // display technical information about the software 'show_cultivate_your_garden' => true, // display "developpement and administration" information /* choix_autre.php / choix_date.php */ 'default_poll_duration' => 180, // default values for the new poll duration (number of days). /* choix_autre.php */ 'user_can_add_img_or_link' => true, // user can add link or URL when creating his poll. ];