php8.1 adaptions

This commit is contained in:
gtbu 2022-02-13 17:37:31 +01:00
parent 6dfd8537e1
commit da81da6d90
2 changed files with 3 additions and 2 deletions

View File

@ -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);
}
}

View File

@ -484,6 +484,7 @@ namespace gp\tool{
}
//default values
$outKeys =array();
if( !$outSet && isset($gpOutConf[$default]) ){
$outKeys[] = trim($default . ':' . $arg, ':');
}