Commit Graph

4 Commits

Author SHA1 Message Date
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
50f811e5ec Add missing semicolon
Fixes #7
2018-06-08 16:44:33 +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