summaryrefslogtreecommitdiff
path: root/src/Database/DatabaseServiceProvider.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Database/DatabaseServiceProvider.php')
-rw-r--r--src/Database/DatabaseServiceProvider.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Database/DatabaseServiceProvider.php b/src/Database/DatabaseServiceProvider.php
index 364816cc..49fb4af5 100644
--- a/src/Database/DatabaseServiceProvider.php
+++ b/src/Database/DatabaseServiceProvider.php
@@ -12,7 +12,9 @@ class DatabaseServiceProvider extends ServiceProvider
{
$config = $this->app->get('config');
Db::connect(
- 'mysql:host=' . $config->get('database')['host'] . ';dbname=' . $config->get('database')['db'] . ';charset=utf8',
+ 'mysql:host=' . $config->get('database')['host']
+ . ';dbname=' . $config->get('database')['db']
+ . ';charset=utf8',
$config->get('database')['user'],
$config->get('database')['pw']
) || $this->exitOnError();