make database config configurable

This commit is contained in:
2018-03-06 18:01:05 +01:00
parent 771078e1dd
commit 2f0d1fc6b3
3 changed files with 59 additions and 42 deletions

View File

@@ -13,5 +13,11 @@ $config = [
// optional: Do you have a place where howTo's are located? If not leave this value out
"howToURL" => "https://my-url-for-storing-howTos.net",
// to define where the data should be stored:
"databaseURI" => "sqlite:" . dirname(__FILE__) . "/db_file.sqlite",
// credentials for sqlite not used
"databaseUser" => "dbUser123",
"databasePass" => "secretPassword",
]
?>