diff options
Diffstat (limited to 'owncloud-8.1.5-autoloader_paths.patch')
-rw-r--r-- | owncloud-8.1.5-autoloader_paths.patch | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/owncloud-8.1.5-autoloader_paths.patch b/owncloud-8.1.5-autoloader_paths.patch index a43da08..e055c88 100644 --- a/owncloud-8.1.5-autoloader_paths.patch +++ b/owncloud-8.1.5-autoloader_paths.patch @@ -2,7 +2,7 @@ diff --git a/lib/base.php b/lib/base.php index bb60273..0f4021d 100644 --- a/lib/base.php +++ b/lib/base.php -@@ -527,7 +527,10 @@ class OC { +@@ -527,7 +527,9 @@ class OC { if (!file_exists($vendorAutoLoad)) { throw new \RuntimeException('Composer autoloader not found, unable to continue. Check the folder "3rdparty".'); } @@ -10,7 +10,6 @@ index bb60273..0f4021d 100644 + $loader = require_once $vendorAutoLoad; + $loader->add('Pimple', '/usr/share/php/Pimple'); + $loader->add('Sabre', '/usr/share/php'); -+ $loader->add('Sabre\VObject', '/usr/share/pear'); } catch (\RuntimeException $e) { OC_Response::setStatus(OC_Response::STATUS_SERVICE_UNAVAILABLE); |