Created a bootstrap file which handles all the enviroment configurations. Therefor Enviroment_config.php was dropped.
Changed the REDIRECT_URI to the website url.
Added Library_config. This includes filepaths to library files.
These can be called from the Library Class (Library::load($lib))
Added a Debug helper.
When not in production mode it will output Debug information when called.
Debug::s for string output
Debug::p for array/object output.
Changed the includes.
In the config the ROOT now has a backslash at the end.
Loaded the RedBeanPHP library with the Library load function.
Expanded, tested Framework loadings.
View_Controller will load this (main) _layout.html.php file. This view loads the request view and loads other static (partial) views.
Changed the inlude to the main config file.
Include no longer needed. This config already gets loaded in the bootstrap file.
Forgot to change this inlcude, DOH!
The RedBeanPHP_Function is nog longer needed.
Log file.
Added comments.
Database controller is no longer needed.
bootstrap: changed the order conifg, libraries and helpers get loaded.
Added debug information.
Added a database instance to the Main_Controller