| @@ 683-685 (lines=3) @@ | ||
| 680 | OC_Template::printGuestPage('', 'error', array('errors' => $errors)); |
|
| 681 | exit; |
|
| 682 | } |
|
| 683 | } elseif (self::$CLI && \OC::$server->getConfig()->getSystemValue('installed', false)) { |
|
| 684 | \OC::$server->getConfig()->deleteAppValue('core', 'cronErrors'); |
|
| 685 | } |
|
| 686 | } |
|
| 687 | //try to set the session lifetime |
|
| 688 | $sessionLifeTime = self::getSessionLifeTime(); |
|
| @@ 950-952 (lines=3) @@ | ||
| 947 | //set remote/public handlers |
|
| 948 | if (array_key_exists('ocsid', $appData)) { |
|
| 949 | \OC::$server->getConfig()->setAppValue($appId, 'ocsid', $appData['ocsid']); |
|
| 950 | } elseif(\OC::$server->getConfig()->getAppValue($appId, 'ocsid', null) !== null) { |
|
| 951 | \OC::$server->getConfig()->deleteAppValue($appId, 'ocsid'); |
|
| 952 | } |
|
| 953 | foreach ($appData['remote'] as $name => $path) { |
|
| 954 | \OC::$server->getConfig()->setAppValue('core', 'remote_' . $name, $appId . '/' . $path); |
|
| 955 | } |
|