Index.php modified to define app/ path to config and cache directories.