mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 09:23:28 +01:00
need to be root for mounting
This commit is contained in:
parent
c13b45bc41
commit
b64e336546
@ -87,8 +87,11 @@ class filemanager_admin extends filemanager_ui
|
||||
{
|
||||
$path = '/etemplates';
|
||||
$url = 'stylite.merge://default/etemplates?merge=.&lang=0&level=1&extension=xet&url=egw';
|
||||
$backup = egw_vfs::$is_root;
|
||||
egw_vfs::$is_root = true;
|
||||
$msg = egw_vfs::mount($url, $path) ?
|
||||
lang('Successful mounted %1 on %2.',$url,$path) : lang('Error mounting %1 on %2!',$url,$path);
|
||||
egw_vfs::$is_root = $backup;
|
||||
}
|
||||
elseif (egw_vfs::$is_root)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user