| @@ 1077-1079 (lines=3) @@ | ||
| 1074 | //set remote/public handlers |
|
| 1075 | if (array_key_exists('ocsid', $appData)) { |
|
| 1076 | \OC::$server->getConfig()->setAppValue($appId, 'ocsid', $appData['ocsid']); |
|
| 1077 | } elseif(\OC::$server->getConfig()->getAppValue($appId, 'ocsid', null) !== null) { |
|
| 1078 | \OC::$server->getConfig()->deleteAppValue($appId, 'ocsid'); |
|
| 1079 | } |
|
| 1080 | foreach ($appData['remote'] as $name => $path) { |
|
| 1081 | \OC::$server->getConfig()->setAppValue('core', 'remote_' . $name, $appId . '/' . $path); |
|
| 1082 | } |
|
| @@ 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(); |
|