Database crentials were incorrect.

Also wrapped database logic inside the correct try catch block to prevent further mishaps and information leakages.
Fixes #6.
This commit is contained in:
Miguel Nogueira
2018-06-08 15:38:27 +00:00
parent 65a3c7bf1b
commit c9d71b422a
3 changed files with 62 additions and 9 deletions

View File

@@ -16,11 +16,11 @@ return [
[
"database" =>
[
"username" => "",
"password" => "password",
"hostname" => "hostname",
"port" => "port",
"dbname" => "db"
"username" => "spacejewel",
"password" => "zwNUECRSy1DVZneq",
"hostname" => "spacejewel.ga",
"port" => "3306",
"dbname" => "billing"
],
"virtualmin" =>
[