From b3c87c01045870ca7999263f9bff4802a713cfe7 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 23 Mar 2016 09:07:11 +0100 Subject: owncloud: 8.2.3 (backported from Fedora) --- owncloud-8.2.3-composer_include_path.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 owncloud-8.2.3-composer_include_path.patch (limited to 'owncloud-8.2.3-composer_include_path.patch') diff --git a/owncloud-8.2.3-composer_include_path.patch b/owncloud-8.2.3-composer_include_path.patch new file mode 100644 index 0000000..7832dc8 --- /dev/null +++ b/owncloud-8.2.3-composer_include_path.patch @@ -0,0 +1,16 @@ +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); -- cgit