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
536b9ac0c3
Missing underscore caused magic method to appear as non-existant (obviously)
...
Fixes #3
2018-06-08 15:04:27 +00:00
Miguel Nogueira
603245498c
Correct syntax error, fixes #2
2018-06-08 15:00:29 +00:00
Miguel Nogueira
624d9444b0
Missing semicolon
2018-06-08 14:57:49 +00:00
Miguel Nogueira
d9de58abdf
Reinsert keyvalidate
2018-06-08 14:46:18 +00:00
Miguel Nogueira
25f604fcb1
Ready for first test
...
Spinning up webserver
Test URL (theoretically): https://billing.spacejewel.ga/paddle/[key]/detectIntent should output all vars in this commit
In production, it should redirect the logic and execute different code (Instead of using an url redirect)
2018-06-08 14:42:10 +00:00
Miguel Nogueira
d38ce4fe15
2nd readiness check
2018-06-08 10:56:33 +00:00
Miguel Nogueira
29735c60bb
Major changes - Ready app for initial testings
2018-06-07 15:40:52 +00:00
Miguel Nogueira
7403097008
Major changes
2018-06-07 14:14:25 +00:00
Miguel Nogueira
06fc7e5360
Add all code files from IDE
2018-06-07 10:56:13 +00:00