mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-22 05:49:03 +01:00
re-added support for gzipped and unzipped files for db restore on empty installations - was (maybe accidentally) removed with housekeeping feature
This commit is contained in:
parent
3cbf249bea
commit
501e715561
@ -237,7 +237,10 @@ class db_backup
|
||||
}
|
||||
return $f;
|
||||
}
|
||||
if(!($f = fopen("compress.bzip2://$name.bz2", $mode)))
|
||||
if(!($f = fopen("compress.bzip2://$name.bz2", $mode)) &&
|
||||
!($f = fopen("compress.zlib://$name.gz",$mode)) &&
|
||||
!($f = fopen($name,$mode))
|
||||
)
|
||||
{
|
||||
//echo '-> !($f = fopen("compress.bzip2://$name.bz2", $mode))<br>'; // !
|
||||
$lang_mode = $reading ? lang("reading") : lang("writing");
|
||||
|
Loading…
Reference in New Issue
Block a user