php8.1 adaptions
This commit is contained in:
		
							parent
							
								
									6dfd8537e1
								
							
						
					
					
						commit
						da81da6d90
					
				
					 2 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1373,8 +1373,8 @@ class Installer extends \gp\admin\Addon\Tools{
 | 
			
		|||
		if( file_exists($this->source) ){
 | 
			
		||||
			\gp\tool\Files::RmAll($this->source);
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		if( file_exists($this->trash_path) ){
 | 
			
		||||
            $thisvar1 = $this->trash_path; $thisvar1 .= "";
 | 
			
		||||
		if( file_exists($thisvar1) ){
 | 
			
		||||
			\gp\tool\Files::RmAll($this->trash_path);
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -484,6 +484,7 @@ namespace gp\tool{
 | 
			
		|||
			}
 | 
			
		||||
 | 
			
		||||
			//default values
 | 
			
		||||
			$outKeys =array();
 | 
			
		||||
			if( !$outSet && isset($gpOutConf[$default]) ){
 | 
			
		||||
				$outKeys[] = trim($default . ':' . $arg, ':');
 | 
			
		||||
			}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue