summaryrefslogtreecommitdiffstats
path: root/owncloud-8.0.1-autoloader_paths.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-07-05 07:54:26 +0200
committerRemi Collet <fedora@famillecollet.com>2015-07-05 07:54:26 +0200
commit7840065569de84a135711318d66e5bcf8827097e (patch)
tree97e0473a782c76e119c967235b1308fa115acc1d /owncloud-8.0.1-autoloader_paths.patch
owncloud: import 8.0.4 from rawhide
Diffstat (limited to 'owncloud-8.0.1-autoloader_paths.patch')
-rw-r--r--owncloud-8.0.1-autoloader_paths.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/owncloud-8.0.1-autoloader_paths.patch b/owncloud-8.0.1-autoloader_paths.patch
new file mode 100644
index 0000000..bb471f8
--- /dev/null
+++ b/owncloud-8.0.1-autoloader_paths.patch
@@ -0,0 +1,14 @@
+--- owncloud/lib/base.php 2014-07-29 00:27:51.154263240 -0700
++++ owncloud/lib/base.php.new 2014-07-29 00:30:26.998084605 -0700
+@@ -475,7 +475,10 @@
+ // setup 3rdparty autoloader
+ $vendorAutoLoad = OC::$THIRDPARTYROOT . '/3rdparty/autoload.php';
+ if (file_exists($vendorAutoLoad)) {
+- require_once $vendorAutoLoad;
++ $loader = require_once $vendorAutoLoad;
++ $loader->add('Pimple', '/usr/share/php/Pimple');
++ $loader->add('Sabre', '/usr/share/php');
++ $loader->add('Sabre\VObject', '/usr/share/pear');
+ } else {
+ OC_Response::setStatus(OC_Response::STATUS_SERVICE_UNAVAILABLE);
+ // we can't use the template error page here, because this needs the