changed the hardcoded 'index.php' to CODEPOT_INDEX_PAGE

This commit is contained in:
hyung-hwan 2010-08-03 06:16:26 +00:00
parent 93a0375011
commit 3748fd048d

View File

@ -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;