Miguel Nogueira
437d81838a
File updates
2018-06-08 20:12:01 +00:00
Miguel Nogueira
c3f882960c
Change wrong DSN name for db wrapper and update config class
...
This commit changes how the config class gets it's values to a more solid way.
Additonally, the DSN was updated to use a correct format, allowing PDO to connect (With a wrong DSN, it tries to connect to something that doesn't exist).
2018-06-08 18:58:48 +00:00
Miguel Nogueira
d30748f47a
Revert changes
2018-06-08 17:58:18 +00:00
Miguel Nogueira
50f811e5ec
Add missing semicolon
...
Fixes #7
2018-06-08 16:44:33 +00:00
Miguel Nogueira
c9d71b422a
Database crentials were incorrect.
...
Also wrapped database logic inside the correct try catch block to prevent further mishaps and information leakages.
Fixes #6 .
2018-06-08 15:38:27 +00:00
Miguel Nogueira
65a3c7bf1b
Missing reference to current object.
...
Fixes #5 .
2018-06-08 15:20:29 +00:00
Miguel Nogueira
0ea8c6fb72
Changes how different classes use the Config class.
...
They were trying to use it as an array instead of using it's helper method that actually returned a usable array.
Fixes #4 .
2018-06-08 15:16:16 +00:00
Miguel Nogueira
06fc7e5360
Add all code files from IDE
2018-06-07 10:56:13 +00:00