]> BookStack Code Mirror - bookstack/blobdiff - config/database.php
Added initial translation into German (formal)
[bookstack] / config / database.php
index 20d461fc9d7f265a2be1ebeb789d3114f6e96138..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'    => '',
@@ -139,6 +139,6 @@ return [
     |
     */
 
-    'redis' => $redisConfig,
+    'redis' => env('REDIS_SERVERS', false) ? $redisConfig : [],
 
 ];