From 4818d7977a25e10c82a4f27f67bab8f5b775a5c4 Mon Sep 17 00:00:00 2001 From: Olivier PEREZ Date: Tue, 23 Dec 2014 09:33:00 +0100 Subject: [PATCH] Update constants.php.template --- app/inc/constants.php.template | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/app/inc/constants.php.template b/app/inc/constants.php.template index c9e31de..6afeb02 100644 --- a/app/inc/constants.php.template +++ b/app/inc/constants.php.template @@ -32,20 +32,14 @@ const ADRESSEMAILADMIN = ''; // Email for automatic responses (you should set it to "no-reply") const ADRESSEMAILREPONSEAUTO = ''; -// Database name -const BASE = ''; - // Database user -const USERBASE = ''; +const DB_USER= ''; // Database password -const USERPASSWD = ''; +const DB_PASSWORD = ''; // Database server name, leave empty to use a socket -const SERVEURBASE = ''; - -// Database type (pdo, mysql, postgresā€¦) http://phplens.com/lens/adodb/docs-adodb.htm#drivers -const BASE_TYPE = ''; +const DB_CONNECTION_STRING = 'mysql:host=;dbname=;port='; // Default Language using POSIX variant of BC P47 standard (choose in $ALLOWED_LANGUAGES) const LANGUE = 'fr_FR'; @@ -93,8 +87,8 @@ $config = [ '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). + '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. + 'user_can_add_img_or_link' => true, // user can add link or URL when creating his poll. ];