mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
create /etemplates before mounting it, fixes eTemplates can not be uploaded just viewed
This commit is contained in:
parent
f8a3bd8e34
commit
1ad206ff99
@ -95,6 +95,9 @@ class filemanager_admin extends filemanager_ui
|
||||
$url = 'stylite.merge://default/etemplates?merge=.&lang=0&level=1&extension=xet&url=egw';
|
||||
$backup = Vfs::$is_root;
|
||||
Vfs::$is_root = true;
|
||||
Vfs::mkdir($path);
|
||||
Vfs::chgrp($path, 'Admins');
|
||||
Vfs::chown($path, 075);
|
||||
$msg = Vfs::mount($url, $path) ?
|
||||
lang('Successful mounted %1 on %2.',$url,$path) : lang('Error mounting %1 on %2!',$url,$path);
|
||||
Vfs::$is_root = $backup;
|
||||
|
Loading…
Reference in New Issue
Block a user