| @@ 714-716 (lines=3) @@ | ||
| 711 | OC_Template::printGuestPage('', 'error', array('errors' => $errors)); |
|
| 712 | exit; |
|
| 713 | } |
|
| 714 | } elseif (self::$CLI && \OC::$server->getConfig()->getSystemValue('installed', false)) { |
|
| 715 | \OC::$server->getConfig()->deleteAppValue('core', 'cronErrors'); |
|
| 716 | } |
|
| 717 | } |
|
| 718 | //try to set the session lifetime |
|
| 719 | $sessionLifeTime = self::getSessionLifeTime(); |
|
| @@ 1067-1069 (lines=3) @@ | ||
| 1064 | //set remote/public handlers |
|
| 1065 | if (array_key_exists('ocsid', $appData)) { |
|
| 1066 | \OC::$server->getConfig()->setAppValue($appId, 'ocsid', $appData['ocsid']); |
|
| 1067 | } elseif(\OC::$server->getConfig()->getAppValue($appId, 'ocsid', null) !== null) { |
|
| 1068 | \OC::$server->getConfig()->deleteAppValue($appId, 'ocsid'); |
|
| 1069 | } |
|
| 1070 | foreach ($appData['remote'] as $name => $path) { |
|
| 1071 | \OC::$server->getConfig()->setAppValue('core', 'remote_' . $name, $appId . '/' . $path); |
|
| 1072 | } |
|