Add config parameter for custom database port

This commit is contained in:
Frederic Guillot
2015-03-05 21:37:57 -05:00
parent 95bac2d7e9
commit 313318a40d
4 changed files with 10 additions and 4 deletions

View File

@@ -79,6 +79,7 @@ class DatabaseProvider implements ServiceProviderInterface
'password' => DB_PASSWORD,
'database' => DB_NAME,
'charset' => 'utf8',
'port' => DB_PORT,
));
}
@@ -97,6 +98,7 @@ class DatabaseProvider implements ServiceProviderInterface
'username' => DB_USERNAME,
'password' => DB_PASSWORD,
'database' => DB_NAME,
'port' => DB_PORT,
));
}
}