Fixing PHPCI so that it'll work in a subdirectory.

This commit is contained in:
Dan Cryer 2013-05-17 17:34:31 +01:00
commit f256db237b
14 changed files with 66 additions and 53 deletions

View file

@ -81,7 +81,7 @@ class BuildController extends b8\Controller
$build = $this->_buildStore->save($build);
header('Location: /build/view/' . $build->getId());
header('Location: '.PHPCI_URL.'build/view/' . $build->getId());
}
/**
@ -96,7 +96,7 @@ class BuildController extends b8\Controller
$build = $this->_buildStore->getById($buildId);
$this->_buildStore->delete($build);
header('Location: /project/view/' . $build->getProjectId());
header('Location: '.PHPCI_URL.'project/view/' . $build->getProjectId());
}
/**