mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 02:14:45 +01:00
fix not being able to mount /etemplates (no mount button), once it was unmounted and there are modified templates
This commit is contained in:
parent
cfccc90025
commit
6dddf22c88
@ -202,7 +202,8 @@ class filemanager_admin extends filemanager_ui
|
||||
'everyone' => lang('Everyone'),
|
||||
);
|
||||
// show [Mount /etemplates] button for admin, if not already mounted and available
|
||||
$readonlys['etemplates'] = !class_exists('\EGroupware\Stylite\Vfs\Merge\StreamWrapper') || egw_vfs::file_exists('/etemplates') ||
|
||||
$readonlys['etemplates'] = !class_exists('\EGroupware\Stylite\Vfs\Merge\StreamWrapper') ||
|
||||
($fs_tab=egw_vfs::mount($url)) && isset($fs_tab['/etemplates']) ||
|
||||
!isset($GLOBALS['egw_info']['user']['apps']['admin']);
|
||||
//_debug_array($content);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user