mirror of
				https://github.com/hauke68/Magallanes.git
				synced 2025-11-04 09:00:18 +01:00 
			
		
		
		
	Allow source -> temporal to be absent in the config
				
					
				
			This commit is contained in:
		
							parent
							
								
									dd79eca75f
								
							
						
					
					
						commit
						ddaf2f0a01
					
				@ -56,7 +56,7 @@ class CloneTask extends AbstractTask
 | 
			
		||||
 | 
			
		||||
        // Create temporal directory for clone
 | 
			
		||||
        if (is_array($this->source)) {
 | 
			
		||||
            if (trim($this->source['temporal']) == '') {
 | 
			
		||||
            if (!isset($this->source['temporal']) || trim($this->source['temporal']) == '') {
 | 
			
		||||
                $this->source['temporal'] = sys_get_temp_dir();
 | 
			
		||||
            }
 | 
			
		||||
            $this->source['temporal'] = rtrim($this->source['temporal'], '/') . '/' . md5(microtime()) . '/';
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user