]> BookStack Code Mirror - bookstack/commitdiff
Updated database config to be codeship compatible
authorDan Brown <redacted>
Mon, 2 May 2016 09:35:42 +0000 (10:35 +0100)
committerDan Brown <redacted>
Mon, 2 May 2016 09:35:42 +0000 (10:35 +0100)
config/database.php

index e4d6880c7510e52981cab306f69c11c0c3959a4a..832852dc2995d094e676ad1a50cd48ce037902ef 100644 (file)
@@ -84,8 +84,8 @@ return [
             'driver'    => 'mysql',
             'host'      => 'localhost',
             'database'  => 'bookstack-test',
-            'username'  => 'bookstack-test',
-            'password'  => 'bookstack-test',
+            'username'  => env('MYSQL_USER', 'bookstack-test'),
+            'password'  => env('MYSQL_PASSWORD', 'bookstack-test'),
             'charset'   => 'utf8',
             'collation' => 'utf8_unicode_ci',
             'prefix'    => '',