Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Don't throw an exception when php-xml is missing
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen committed Dec 12, 2016
commit bc5c255d8c186ecee66a91db57244d36ffe3c273
4 changes: 3 additions & 1 deletion lib/base.php
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,9 @@ public static function init() {
stream_wrapper_register('quota', 'OC\Files\Stream\Quota');

\OC::$server->getEventLogger()->start('init_session', 'Initialize session');
OC_App::loadApps(array('session'));
if (function_exists('simplexml_load_file')) {
OC_App::loadApps(array('session'));
}
if (!self::$CLI) {
self::initSession();
}
Expand Down