| @@ 601-603 (lines=3) @@ | ||
| 598 | OC_Template::printGuestPage('', 'error', array('errors' => $errors)); |
|
| 599 | exit; |
|
| 600 | } |
|
| 601 | } elseif (self::$CLI && \OC::$server->getConfig()->getSystemValue('installed', false)) { |
|
| 602 | \OC::$server->getConfig()->deleteAppValue('core', 'cronErrors'); |
|
| 603 | } |
|
| 604 | } |
|
| 605 | //try to set the session lifetime |
|
| 606 | $sessionLifeTime = self::getSessionLifeTime(); |
|
| @@ 1206-1208 (lines=3) @@ | ||
| 1203 | //set remote/public handlers |
|
| 1204 | if (array_key_exists('ocsid', $appData)) { |
|
| 1205 | \OC::$server->getConfig()->setAppValue($appId, 'ocsid', $appData['ocsid']); |
|
| 1206 | } elseif(\OC::$server->getConfig()->getAppValue($appId, 'ocsid', null) !== null) { |
|
| 1207 | \OC::$server->getConfig()->deleteAppValue($appId, 'ocsid'); |
|
| 1208 | } |
|
| 1209 | foreach ($appData['remote'] as $name => $path) { |
|
| 1210 | \OC::$server->getConfig()->setAppValue('core', 'remote_' . $name, $appId . '/' . $path); |
|
| 1211 | } |
|