| @@ 1244-1246 (lines=3) @@ | ||
| 1241 | //set remote/public handlers |
|
| 1242 | if (array_key_exists('ocsid', $appData)) { |
|
| 1243 | \OC::$server->getConfig()->setAppValue($appId, 'ocsid', $appData['ocsid']); |
|
| 1244 | } elseif(\OC::$server->getConfig()->getAppValue($appId, 'ocsid', null) !== null) { |
|
| 1245 | \OC::$server->getConfig()->deleteAppValue($appId, 'ocsid'); |
|
| 1246 | } |
|
| 1247 | foreach ($appData['remote'] as $name => $path) { |
|
| 1248 | \OC::$server->getConfig()->setAppValue('core', 'remote_' . $name, $appId . '/' . $path); |
|
| 1249 | } |
|
| @@ 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(); |
|