diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/AppConfig.php | 1 | ||||
-rw-r--r-- | lib/Capabilities.php | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/lib/AppConfig.php b/lib/AppConfig.php index 0b01fcbf..bcb2ef9d 100644 --- a/lib/AppConfig.php +++ b/lib/AppConfig.php @@ -18,6 +18,7 @@ class AppConfig { private $defaults = [ 'wopi_url' => '', + 'timeout' => 15, 'watermark_text' => '{userId}', 'watermark_allGroupsList' => [], 'watermark_allTagsList' => [], diff --git a/lib/Capabilities.php b/lib/Capabilities.php index efc412ba..e8ad527a 100644 --- a/lib/Capabilities.php +++ b/lib/Capabilities.php @@ -104,6 +104,8 @@ class Capabilities implements ICapability { 'edit_groups' => $this->config->getAppValue('edit_groups'), 'use_groups' => $this->config->getAppValue('use_groups'), 'doc_format' => $this->config->getAppValue('doc_format'), + 'timeout' => $this->config->getAppValue('timeout'), + ] ], ]; |