Changes to paths, more dynamic

The path of where this application is currently being hosted was
hard-coded into the app's index.php page.  Changed it to dynamically
grab where the app is located.