From faba1386c87438d8de2366e5d6dd5f7c0c74d4ef Mon Sep 17 00:00:00 2001 From: Majdi SFAXI Date: Wed, 21 Dec 2016 13:23:32 +0100 Subject: [PATCH] modif config files --- config/autoload/config.local.php.dist | 15 ++++++++++++--- config/autoload/local.php.dist | 15 ++++++++++++--- config/autoload/smtp.local.php.dist | 13 ------------- 3 files changed, 24 insertions(+), 19 deletions(-) delete mode 100755 config/autoload/smtp.local.php.dist diff --git a/config/autoload/config.local.php.dist b/config/autoload/config.local.php.dist index ea39bdf..70630ba 100755 --- a/config/autoload/config.local.php.dist +++ b/config/autoload/config.local.php.dist @@ -2,9 +2,18 @@ return [ 'languages' => [ - 1 => 'Français', - 2 => 'English', - 3 => 'Deutsch' + 'fr' => [ + 'index' => 1, + 'label' => 'Français', + ], + 'en' => [ + 'index' => 2, + 'label' => 'English', + ], + 'de' => [ + 'index' => 3, + 'label' => 'Deutsch', + ], ], 'defaultLanguageIndex' => 2 ]; diff --git a/config/autoload/local.php.dist b/config/autoload/local.php.dist index d5b3a75..96f349a 100644 --- a/config/autoload/local.php.dist +++ b/config/autoload/local.php.dist @@ -35,9 +35,18 @@ return array( 'languages' => [ - 1 => 'Français', - 2 => 'English', - 3 => 'Deutsch' + 'fr' => [ + 'index' => 1, + 'label' => 'Français', + ], + 'en' => [ + 'index' => 2, + 'label' => 'English', + ], + 'de' => [ + 'index' => 3, + 'label' => 'Deutsch', + ], ], 'defaultLanguageIndex' => 1, diff --git a/config/autoload/smtp.local.php.dist b/config/autoload/smtp.local.php.dist deleted file mode 100755 index 649db5f..0000000 --- a/config/autoload/smtp.local.php.dist +++ /dev/null @@ -1,13 +0,0 @@ - [ - 'name' => 'mailtrap.io', - 'host' => 'mailtrap.io', - 'connection_class' => 'crammd5', - 'connection_config' => [ - 'username' => '******', - 'password' => '******', - ], - ] -];