Moved the config file from engine to site
Optimized the view module.
Merge branch 'develop' of github.com:vremy/v-engine into develop
Formated PHP code in directory engine/ with the PSR 2 coding style
Optimized the runIfStatements method in the view module
Added the bindParams function to prevent sql injections and refactored code to make it a more clean implementation
Fixed an error when trying to get the lastInsertId
Refactored module dbHandler so it can work with the refactored db module
Refactored the upload module to get a more clean implementation
Prevent the favicon request for running the engine again
Fixed the automated routing system for the devtools page and refactored the code to make it more a more clean implementation
Added the 404 not found header to the notFound method. Added a few exit functions to the routing system
Refactored the router system by moving code from the constructor to there own methods
Modified the router call as result of a refactor
Removed the class variable assignement of NULL because a default value for a class variable is by default NULL! And if you assign a default value do it in the constructor!
Replaced the normal array syntax with the new shorter array syntax that's available from PHP 5.4+ In my opinion it looks more clean :)
Added redirect functionality to the router class
Renamed the config variable routes to redirects
Added custom URL routing functionality to the router class. Renamed variable customRoutesList to redirectList in the router class -> method executeAvailableRedirects
Added unit test for class.engine.php and class.router.php. Modified a few files and configurations so it can work with the written unit test