]>
BookStack Code Mirror - bookstack/commitdiff
projects
/
bookstack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
1b46c19
)
Updated database config to be codeship compatible
author
Dan Brown
<redacted>
Mon, 2 May 2016 09:35:42 +0000
(10:35 +0100)
committer
Dan Brown
<redacted>
Mon, 2 May 2016 09:35:42 +0000
(10:35 +0100)
config/database.php
patch
|
blob
|
history
diff --git
a/config/database.php
b/config/database.php
index e4d6880c7510e52981cab306f69c11c0c3959a4a..832852dc2995d094e676ad1a50cd48ce037902ef 100644
(file)
--- a/
config/database.php
+++ b/
config/database.php
@@
-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' => '',