summaryrefslogtreecommitdiffstats
path: root/owncloud-8.1.5-composer_includepath.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-03-16 13:43:36 +0100
committerRemi Collet <fedora@famillecollet.com>2016-03-16 13:43:36 +0100
commitcf476b262715557a3dc523f9878b49fd15708705 (patch)
tree080577ebcf9a2fecf01d529228e1630d9a4c23e2 /owncloud-8.1.5-composer_includepath.patch
parentb15855909305e99fea24b4874827d8100f49cfef (diff)
owncloud 8.1.5 (backported from Fedora)
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);