diff --git a/src/Content/Conversation.php b/src/Content/Conversation.php index 586b0bc540..4b54c8d085 100644 --- a/src/Content/Conversation.php +++ b/src/Content/Conversation.php @@ -408,11 +408,9 @@ class Conversation '$compose_link_title' => $this->l10n->t('Open Compose page'), '$always_open_compose' => $this->pConfig->get($this->session->getLocalUserId(), 'frio', 'always_open_compose', false), + // Dropzone - //'$max_imagesize' => DI::config()->get('system', 'maximagesize'), - // DI::config.. does not work here, so it is set to a manual value - '$max_imagesize' => 600000, - + '$max_imagesize' => $this->config->get('system', 'maximagesize') ]); diff --git a/src/Module/Post/Edit.php b/src/Module/Post/Edit.php index 87a0c1b9c6..ad593bafb4 100644 --- a/src/Module/Post/Edit.php +++ b/src/Module/Post/Edit.php @@ -184,7 +184,8 @@ class Edit extends BaseModule '$compose_link_title' => $this->t('Open Compose page'), // Dropzone //'$max_imagesize' => DI::config()->get('system', 'maximagesize'), - // DI::config.. does not work here, so it is set to a manual value + //'$max_imagesize' => $this->config->get('system', 'maximagesize'), + // both is not workin here, so it is set to a manual value '$max_imagesize' => 500000, ]);