mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-05 13:39:23 +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)
|
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);
|
$name = $this->backup_dir.'/'.basename($name);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user