| @@ 684-686 (lines=3) @@ | ||
| 681 | OC_Template::printGuestPage('', 'error', array('errors' => $errors)); |
|
| 682 | exit; |
|
| 683 | } |
|
| 684 | } elseif (self::$CLI && \OC::$server->getConfig()->getSystemValue('installed', false)) { |
|
| 685 | \OC::$server->getConfig()->deleteAppValue('core', 'cronErrors'); |
|
| 686 | } |
|
| 687 | } |
|
| 688 | //try to set the session lifetime |
|
| 689 | $sessionLifeTime = self::getSessionLifeTime(); |
|
| @@ 913-915 (lines=3) @@ | ||
| 910 | //set remote/public handlers |
|
| 911 | if (array_key_exists('ocsid', $appData)) { |
|
| 912 | \OC::$server->getConfig()->setAppValue($appId, 'ocsid', $appData['ocsid']); |
|
| 913 | } elseif(\OC::$server->getConfig()->getAppValue($appId, 'ocsid', null) !== null) { |
|
| 914 | \OC::$server->getConfig()->deleteAppValue($appId, 'ocsid'); |
|
| 915 | } |
|
| 916 | foreach ($appData['remote'] as $name => $path) { |
|
| 917 | \OC::$server->getConfig()->setAppValue('core', 'remote_' . $name, $appId . '/' . $path); |
|
| 918 | } |
|