mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-01-17 10:08:05 +00:00
Fix #51 Use DB_CONNECTION and not DB_DRIVER by default to configure the database access
This commit is contained in:
parent
668a7758c4
commit
51774c0cc9
3 changed files with 5 additions and 5 deletions
|
|
@ -46,9 +46,9 @@ PRIVACY_POLICY_URL= # A URL pointing to the Privacy Policy
|
|||
|
||||
LOG_CHANNEL=stack
|
||||
|
||||
# External FlexiSIP database
|
||||
# FlexiSIP database
|
||||
# Ensure that you have the proper SELinux configuration to allow database connections, see the README
|
||||
DB_DRIVER=mysql
|
||||
DB_CONNECTION=mysql
|
||||
DB_HOST=127.0.0.1
|
||||
DB_PORT=3306
|
||||
DB_DATABASE=flexisip
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ return [
|
|||
|
|
||||
*/
|
||||
|
||||
'default' => 'mysql',
|
||||
'default' => env('DB_CONNECTION', 'mysql'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
@ -73,7 +73,7 @@ return [
|
|||
],
|
||||
|
||||
'pgsql' => [
|
||||
'driver' => 'pgsql',
|
||||
'driver' => env('DB_DRIVER', 'pgsql'),
|
||||
'url' => env('DATABASE_URL'),
|
||||
'host' => env('DB_HOST', '127.0.0.1'),
|
||||
'port' => env('DB_PORT', '5432'),
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
#%define _datadir %{_datarootdir}
|
||||
#%define _docdir %{_datadir}/doc
|
||||
|
||||
%define build_number 159
|
||||
%define build_number 160
|
||||
%define var_dir /var/opt/belledonne-communications
|
||||
%define opt_dir /opt/belledonne-communications/share/flexisip-account-manager
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue