mirror of
https://github.com/gtbu/Typesetter-5.3-p8.git
synced 2024-11-21 21:59:12 +01:00
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