mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
fix S3direct stream-wrapper to be auto-loadable and mountable into Vfs, also using it when mounting backups into vfs
This commit is contained in:
parent
6fcbf87a10
commit
1e3a240729
@ -126,7 +126,7 @@ if (!empty($_POST['mount']))
|
||||
{
|
||||
Vfs::$is_root = true;
|
||||
echo '<div align="center">'.
|
||||
(Vfs::mount('filesystem://default'.$db_backup->backup_dir.'?group=Admins&mode=070','/backup',false) ?
|
||||
(Vfs::mount(($db_backup->backup_dir[0] === '/' ? 'filesystem://default' : '').$db_backup->backup_dir.'?group=Admins&mode=070','/backup',false) ?
|
||||
lang('Backup directory %1 mounted as %2',$db_backup->backup_dir,'/backup') :
|
||||
lang('Failed to mount Backup directory!')).
|
||||
"</div>\n";
|
||||
|
Loading…
Reference in New Issue
Block a user