| @@ 713-715 (lines=3) @@ | ||
| 710 | OC_Template::printGuestPage('', 'error', array('errors' => $errors)); |
|
| 711 | exit; |
|
| 712 | } |
|
| 713 | } elseif (self::$CLI && \OC::$server->getConfig()->getSystemValue('installed', false)) { |
|
| 714 | \OC::$server->getConfig()->deleteAppValue('core', 'cronErrors'); |
|
| 715 | } |
|
| 716 | } |
|
| 717 | //try to set the session lifetime |
|
| 718 | $sessionLifeTime = self::getSessionLifeTime(); |
|
| @@ 1143-1145 (lines=3) @@ | ||
| 1140 | //set remote/public handlers |
|
| 1141 | if (array_key_exists('ocsid', $appData)) { |
|
| 1142 | \OC::$server->getConfig()->setAppValue($appId, 'ocsid', $appData['ocsid']); |
|
| 1143 | } elseif(\OC::$server->getConfig()->getAppValue($appId, 'ocsid', null) !== null) { |
|
| 1144 | \OC::$server->getConfig()->deleteAppValue($appId, 'ocsid'); |
|
| 1145 | } |
|
| 1146 | foreach ($appData['remote'] as $name => $path) { |
|
| 1147 | \OC::$server->getConfig()->setAppValue('core', 'remote_' . $name, $appId . '/' . $path); |
|
| 1148 | } |
|