Resolved bug that prevented the of the location of api.php.