3.4/develop

Improved the index.php file. The error reporting configuration was moved to the top above all code. Path configuration was transformed into an array to remove repetition and make it trivial to add a new path.