fixed not shown [Mount /etemplates] button in trunk

This commit is contained in:
Ralf Becker 2015-04-17 13:50:18 +00:00
parent a0cd14ad11
commit ed6280e44b

View File

@ -202,7 +202,7 @@ class filemanager_admin extends filemanager_ui
'everyone' => lang('Everyone'), 'everyone' => lang('Everyone'),
); );
// show [Mount /etemplates] button for admin, if not already mounted and available // show [Mount /etemplates] button for admin, if not already mounted and available
$readonlys['etemplates'] = !class_exists('stylite_merge_stream_wrapper') || egw_vfs::file_exists('/etemplates') || $readonlys['etemplates'] = !class_exists('\EGroupware\Stylite\Vfs\Merge\StreamWrapper') || egw_vfs::file_exists('/etemplates') ||
!isset($GLOBALS['egw_info']['user']['apps']['admin']); !isset($GLOBALS['egw_info']['user']['apps']['admin']);
//_debug_array($content); //_debug_array($content);