From ed6280e44bfaede0694b602692b7d063b58da0ba Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 17 Apr 2015 13:50:18 +0000 Subject: [PATCH] fixed not shown [Mount /etemplates] button in trunk --- filemanager/inc/class.filemanager_admin.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filemanager/inc/class.filemanager_admin.inc.php b/filemanager/inc/class.filemanager_admin.inc.php index 943f96ca8b..78b6a8aa4d 100644 --- a/filemanager/inc/class.filemanager_admin.inc.php +++ b/filemanager/inc/class.filemanager_admin.inc.php @@ -202,7 +202,7 @@ 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('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']); //_debug_array($content);