mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
fix not working installation from backup through setup
This commit is contained in:
parent
1cc266467d
commit
5853afd7ff
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user