Changed index.php to handle no controller.