summaryrefslogtreecommitdiff
path: root/app/ServiceProvider/DatabaseProvider.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-03-05 21:37:57 -0500
committerFrederic Guillot <fred@kanboard.net>2015-03-05 21:37:57 -0500
commit313318a40da51575212c8d299fa1b2ed4c83ca1b (patch)
tree3bb6fdc33813359b404d04a7117b8fed0e0d76a1 /app/ServiceProvider/DatabaseProvider.php
parent95bac2d7e95cb3a189585d09edbaa2df3b8c4942 (diff)
Add config parameter for custom database port
Diffstat (limited to 'app/ServiceProvider/DatabaseProvider.php')
-rw-r--r--app/ServiceProvider/DatabaseProvider.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/ServiceProvider/DatabaseProvider.php b/app/ServiceProvider/DatabaseProvider.php
index 4218f5ff..7ee35d5f 100644
--- a/app/ServiceProvider/DatabaseProvider.php
+++ b/app/ServiceProvider/DatabaseProvider.php
@@ -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,
));
}
}