diff --git a/codepot/src/codepot/models/projectmodel.php b/codepot/src/codepot/models/projectmodel.php index 7b4b8739..555c0507 100644 --- a/codepot/src/codepot/models/projectmodel.php +++ b/codepot/src/codepot/models/projectmodel.php @@ -141,7 +141,7 @@ class ProjectModel extends Model else { $url = parse_url(base_url()); - $api = $api_base_url . $url['path'] . '/index.php/api'; + $api = $api_base_url . $url['path'] . '/' . CODEPOT_INDEX_PAGE . '/api'; $cfgdir = CODEPOT_CFG_DIR; $repodir = CODEPOT_SVNREPO_DIR;