mirror of
https://github.com/hauke68/Magallanes.git
synced 2025-08-25 21:00:18 +02:00
fix acl task for non realse deployments
This commit is contained in:
parent
ac36fb29d5
commit
9c1f30ac80
@ -24,9 +24,12 @@ class ApplyFaclsTask extends AbstractTask implements IsReleaseAware
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
$releasesDirectory = $this->getConfig()->release('directory', 'releases');
|
||||
$currentCopy = $releasesDirectory . '/' . $this->getConfig()->getReleaseId();
|
||||
|
||||
if ($this->getConfig()->release('enabled')) {
|
||||
$releasesDirectory = $this->getConfig()->release('directory', 'releases');
|
||||
$currentCopy = $releasesDirectory.'/'.$this->getConfig()->getReleaseId();
|
||||
} else {
|
||||
$currentCopy = $this->getConfig()->deployment('to', '.');
|
||||
}
|
||||
|
||||
$aclParam = $this->getParameter('acl_param', '');
|
||||
if (empty($aclParam)) {
|
||||
|
Loading…
Reference in New Issue
Block a user