From 3748fd048d7efdd24dd1a868a1f643e7071eb59d Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Tue, 3 Aug 2010 06:16:26 +0000 Subject: [PATCH] changed the hardcoded 'index.php' to CODEPOT_INDEX_PAGE --- codepot/src/codepot/models/projectmodel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;