Added root defines within index.php so the base dir can be easily overwritten should your files be installed in another dir entirely.