Fixed constants
This commit is contained in:
parent
60a2b7282a
commit
4fee89fb80
46 changed files with 204 additions and 212 deletions
|
|
@ -135,7 +135,7 @@ class Build extends BuildBase
|
|||
*/
|
||||
protected function getZeroConfigPlugins(Builder $builder)
|
||||
{
|
||||
$pluginDir = PHPCI_DIR . 'Plugin' . DIRECTORY_SEPARATOR;
|
||||
$pluginDir = SRC_DIR . 'Plugin' . DIRECTORY_SEPARATOR;
|
||||
$dir = new \DirectoryIterator($pluginDir);
|
||||
|
||||
$config = [
|
||||
|
|
@ -258,7 +258,7 @@ class Build extends BuildBase
|
|||
|
||||
if (empty($this->currentBuildPath)) {
|
||||
$buildDirectory = $this->getId() . '_' . substr(md5(microtime(true)), 0, 5);
|
||||
$this->currentBuildPath = PHPCI_BUILDS_DIR . $buildDirectory . DIRECTORY_SEPARATOR;
|
||||
$this->currentBuildPath = RUNTIME_DIR . 'builds' . DIRECTORY_SEPARATOR . $buildDirectory . DIRECTORY_SEPARATOR;
|
||||
}
|
||||
|
||||
return $this->currentBuildPath;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue