fix not working installation from backup through setup

This commit is contained in:
ralf 2024-04-04 08:22:38 +02:00
parent 1cc266467d
commit 5853afd7ff

View File

@ -195,7 +195,7 @@ class Backup
*/
public function fopen_backup(string $name=null, bool $reading=false, bool $un_compress=true)
{
if ($name)
if ($name[0] !== '/')
{
$name = $this->backup_dir.'/'.basename($name);
}