Commit Graph

24 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 9c9c10467d Delete php errors log and add it to gitignore 2018-06-08 18:00:21 +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 2ccc1e58a9 Corrects missing redirection error
Fixes #1
2018-06-08 14:52:18 +00:00
Miguel Nogueira a7d53a2c16 Add run code 2018-06-08 14:48:18 +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 3b0972f200 Remove unused file 2018-06-07 15:21:25 +02:00
Miguel Nogueira a77b0cf4ed Remove hello world 2018-06-07 15:21:08 +02:00
Miguel Nogueira fae7a7ca86 Merge local repository with remote
Merge branch 'master' of ssh.users.spacejewel.ga:Spacejewel/BillingPlatform
2018-06-07 11:44:02 +00:00
Miguel Nogueira 06fc7e5360 Add all code files from IDE 2018-06-07 10:56:13 +00:00
Miguel Nogueira 74f08bc1dc Delete file for local use 2018-06-07 12:52:33 +02:00
Miguel Nogueira 1022fd9a2e test 2018-06-07 12:46:24 +02:00
Spacejewel Hosting 7942efb235 Initial commit 2018-06-07 12:43:58 +02:00