Use absolute pathnames (via magic constants) when loading boot.php & config.ini
Compartmenatalise some of the code in the application constructor.