mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 14:18:27 +01:00
Added missing file url js config
This commit is contained in:
parent
723d60f4af
commit
d09b06d387
@ -47,6 +47,10 @@ class CoreJsConfig extends Widget
|
||||
'url' => Url::to(['/file/file/upload']),
|
||||
'deleteUrl' => Url::to(['/file/file/delete'])
|
||||
],
|
||||
'url' => [
|
||||
'download' => Url::to(['/file/file/download', 'download' => true, 'guid' => '-guid-'], true),
|
||||
'load' => Url::to(['/file/file/download', 'guid' => '-guid-'], true)
|
||||
],
|
||||
'text' => [
|
||||
'error.upload' => Yii::t('base', 'Some files could not be uploaded:'),
|
||||
'error.unknown' => Yii::$app->user->isAdmin() ?
|
||||
|
Loading…
x
Reference in New Issue
Block a user