From a030e153754d881d7e6ea09fbc50bcd216509692 Mon Sep 17 00:00:00 2001 From: Wenrui LI Date: Wed, 6 Apr 2022 15:04:33 +0800 Subject: [PATCH] * set integration for xuan. --- xuanxuan/extension/xuan/im/ext/control/sysgetserverinfo.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xuanxuan/extension/xuan/im/ext/control/sysgetserverinfo.php b/xuanxuan/extension/xuan/im/ext/control/sysgetserverinfo.php index 0739d8dde2..3f5103ac2a 100644 --- a/xuanxuan/extension/xuan/im/ext/control/sysgetserverinfo.php +++ b/xuanxuan/extension/xuan/im/ext/control/sysgetserverinfo.php @@ -24,6 +24,8 @@ class myIm extends im $output->data = 'locked'; die($this->app->encrypt($output)); } + $this->app->loadConfig('file'); + if(isset($this->config->file->collaboraPath)) $this->config->integration = (object)array('office' => (object)array('officeEnabled' => true)); parent::sysGetServerInfo($account, $password, $apiVersion, $userID, $version, $device); } }