Commit 503081c5846d268f68b0f6e17fe283c6d82276b4
1 parent
bd406ee6
23.06.16
Showing
1 changed file
with
15 additions
and
1 deletions
Show diff stats
backend/config/main.php
... | ... | @@ -17,7 +17,7 @@ return [ |
17 | 17 | 'disabledCommands' => ['netmount'], //отключение ненужных команд https://github.com/Studio-42/elFinder/wiki/Client-configuration-options#commands |
18 | 18 | 'roots' => [ |
19 | 19 | [ |
20 | - 'class' => 'mihaildev\elfinder\UserPath', | |
20 | + 'class' => 'mihaildev\elfinder\volume\UserPath', | |
21 | 21 | 'path' => '../../storage/user_{id}', |
22 | 22 | 'name' => 'My Documents' |
23 | 23 | ], |
... | ... | @@ -62,7 +62,21 @@ return [ |
62 | 62 | 'roles' => ['@'], |
63 | 63 | ] |
64 | 64 | |
65 | + ], | |
66 | + 'file/uploader' =>[ | |
67 | + [ | |
68 | + 'actions' => ['images-upload'], | |
69 | + 'allow' => true, | |
70 | + ] | |
71 | + ], | |
72 | + 'elfinder' => [ | |
73 | + [ | |
74 | + 'actions' => ['manager'], | |
75 | + 'allow' => true, | |
76 | + ] | |
65 | 77 | ] |
78 | + | |
79 | + | |
66 | 80 | ] |
67 | 81 | ], |
68 | 82 | 'modules' => [ | ... | ... |