Adding PDO check of database during install, created forced app directory to work with realpath() in index.php