summaryrefslogtreecommitdiffstats
path: root/owncloud-8.1.5-composer_includepath.patch
diff options
context:
space:
mode:
Diffstat (limited to 'owncloud-8.1.5-composer_includepath.patch')
-rw-r--r--owncloud-8.1.5-composer_includepath.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/owncloud-8.1.5-composer_includepath.patch b/owncloud-8.1.5-composer_includepath.patch
new file mode 100644
index 0000000..fb1966a
--- /dev/null
+++ b/owncloud-8.1.5-composer_includepath.patch
@@ -0,0 +1,12 @@
+diff --git a/lib/base.php b/lib/base.php
+index 0f4021d..431a1f3 100644
+--- a/lib/base.php
++++ b/lib/base.php
+@@ -531,6 +531,7 @@ class OC {
+ $loader->add('Pimple', '/usr/share/php/Pimple');
+ $loader->add('Sabre', '/usr/share/php');
+ $loader->add('Sabre\VObject', '/usr/share/pear');
++ $loader->setUseIncludePath(true);
+
+ } catch (\RuntimeException $e) {
+ OC_Response::setStatus(OC_Response::STATUS_SERVICE_UNAVAILABLE);