loadModel('user')->checkLocked($account)) { $output = new stdclass(); $output->result = 'fail'; $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); } }