mirror of
https://github.com/hauke68/Magallanes.git
synced 2025-09-14 05:00:20 +02:00
Merge pull request #264 from kuborgh/patch-acl-nonrelease
[FIX] Acl task for non release deployments
This commit is contained in:
commit
79cd4c2772
@ -24,9 +24,12 @@ class ApplyFaclsTask extends AbstractTask implements IsReleaseAware
|
|||||||
*/
|
*/
|
||||||
public function run()
|
public function run()
|
||||||
{
|
{
|
||||||
$releasesDirectory = $this->getConfig()->release('directory', 'releases');
|
if ($this->getConfig()->release('enabled')) {
|
||||||
$currentCopy = $releasesDirectory . '/' . $this->getConfig()->getReleaseId();
|
$releasesDirectory = $this->getConfig()->release('directory', 'releases');
|
||||||
|
$currentCopy = $releasesDirectory.'/'.$this->getConfig()->getReleaseId();
|
||||||
|
} else {
|
||||||
|
$currentCopy = $this->getConfig()->deployment('to', '.');
|
||||||
|
}
|
||||||
|
|
||||||
$aclParam = $this->getParameter('acl_param', '');
|
$aclParam = $this->getParameter('acl_param', '');
|
||||||
if (empty($aclParam)) {
|
if (empty($aclParam)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user