From 7840065569de84a135711318d66e5bcf8827097e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 5 Jul 2015 07:54:26 +0200 Subject: owncloud: import 8.0.4 from rawhide --- owncloud-8.0.1-autoloader_paths.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 owncloud-8.0.1-autoloader_paths.patch (limited to 'owncloud-8.0.1-autoloader_paths.patch') 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 -- cgit