This is loaded in index.php and ajax.php. It does mean that it has to be included as it is setting up the autoloader and stuff. But it does keep things DRY - only one place to add any new autoload places etc.
Note this only has a single static function. This is not great for unit testing, but it seems to make more sense than having to create an instance that is never going to be used again. (Equally this could just be code in a file rather than being a function or a class, but that just seems nasty)
Lindsay Marshall email@example.com
2015-2020 Newcastle University
- Class for doing initial setup of the Framework.