diff --git a/lib/base.php b/lib/base.php index 5ce5fae..544e159 100644 --- a/lib/base.php +++ b/lib/base.php @@ -498,7 +498,10 @@ class OC { if (!file_exists($vendorAutoLoad)) { throw new \RuntimeException('Composer autoloader not found, unable to continue. Check the folder "3rdparty". Running "git submodule update --init" will initialize the git submodule that handles the subfolder "3rdparty".'); } - require_once $vendorAutoLoad; + $loader = require_once $vendorAutoLoad; + $loader->add('Sabre', '/usr/share/php'); + $loader->add('Sabre\VObject', '/usr/share/php'); + $loader->setUseIncludePath(true); } catch (\RuntimeException $e) { OC_Response::setStatus(OC_Response::STATUS_SERVICE_UNAVAILABLE);