mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-14 03:54:29 +01:00
create /etemplates before mounting it, fixes eTemplates can not be uploaded just viewed
This commit is contained in:
parent
2c028aa3b5
commit
2b99ee4758
@ -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