| @@ 1073-1075 (lines=3) @@ | ||
| 1070 | //set remote/public handlers |
|
| 1071 | if (array_key_exists('ocsid', $appData)) { |
|
| 1072 | \OC::$server->getConfig()->setAppValue($appId, 'ocsid', $appData['ocsid']); |
|
| 1073 | } elseif(\OC::$server->getConfig()->getAppValue($appId, 'ocsid', null) !== null) { |
|
| 1074 | \OC::$server->getConfig()->deleteAppValue($appId, 'ocsid'); |
|
| 1075 | } |
|
| 1076 | foreach ($appData['remote'] as $name => $path) { |
|
| 1077 | \OC::$server->getConfig()->setAppValue('core', 'remote_' . $name, $appId . '/' . $path); |
|
| 1078 | } |
|
| @@ 696-698 (lines=3) @@ | ||
| 693 | OC_Template::printGuestPage('', 'error', array('errors' => $errors)); |
|
| 694 | exit; |
|
| 695 | } |
|
| 696 | } elseif (self::$CLI && \OC::$server->getConfig()->getSystemValue('installed', false)) { |
|
| 697 | \OC::$server->getConfig()->deleteAppValue('core', 'cronErrors'); |
|
| 698 | } |
|
| 699 | } |
|
| 700 | //try to set the session lifetime |
|
| 701 | $sessionLifeTime = self::getSessionLifeTime(); |
|