diff --git a/lib/Controller/SettingsController.php b/lib/Controller/SettingsController.php index a62afa33..ac77b085 100644 --- a/lib/Controller/SettingsController.php +++ b/lib/Controller/SettingsController.php @@ -53,8 +53,8 @@ class SettingsController extends Controller{ public function getSettings() { return new JSONResponse([ 'wopi_url' => $this->appConfig->getAppValue('wopi_url'), - 'use_groups' => $this->appConfig->getAppValue('use_groups'), 'edit_groups' => $this->appConfig->getAppValue('edit_groups'), + 'use_groups' => $this->appConfig->getAppValue('use_groups'), 'doc_format' => $this->appConfig->getAppValue('doc_format'), ]); } diff --git a/lib/Settings/Admin.php b/lib/Settings/Admin.php index 7fffc285..0bad4f7c 100644 --- a/lib/Settings/Admin.php +++ b/lib/Settings/Admin.php @@ -51,6 +51,7 @@ class Admin implements ISettings { 'use_groups' => $this->config->getAppValue('richdocuments', 'use_groups'), 'doc_format' => $this->config->getAppValue('richdocuments', 'doc_format'), 'external_apps' => $this->config->getAppValue('richdocuments', 'external_apps'), + 'canonical_webroot' => $this->config->getAppValue('richdocuments', 'canonical_webroot'), ], 'blank' );