From 503081c5846d268f68b0f6e17fe283c6d82276b4 Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Fri, 24 Jun 2016 15:59:02 +0300 Subject: [PATCH] 23.06.16 --- backend/config/main.php | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/backend/config/main.php b/backend/config/main.php index 02cad86..79058ef 100755 --- a/backend/config/main.php +++ b/backend/config/main.php @@ -17,7 +17,7 @@ return [ 'disabledCommands' => ['netmount'], //отключение ненужных команд https://github.com/Studio-42/elFinder/wiki/Client-configuration-options#commands 'roots' => [ [ - 'class' => 'mihaildev\elfinder\UserPath', + 'class' => 'mihaildev\elfinder\volume\UserPath', 'path' => '../../storage/user_{id}', 'name' => 'My Documents' ], @@ -62,7 +62,21 @@ return [ 'roles' => ['@'], ] + ], + 'file/uploader' =>[ + [ + 'actions' => ['images-upload'], + 'allow' => true, + ] + ], + 'elfinder' => [ + [ + 'actions' => ['manager'], + 'allow' => true, + ] ] + + ] ], 'modules' => [ -- libgit2 0.21.4