mirror of
				https://github.com/hauke68/Magallanes.git
				synced 2025-11-04 09:00:18 +01: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()
 | 
			
		||||
    {
 | 
			
		||||
        $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