[Pkg-owncloud-commits] [owncloud] 02/02: Also handle AWS SDK loading via classmap

David Prévot taffit at moszumanska.debian.org
Wed Apr 8 01:34:22 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit b71fb9b2ddf680d9d9d9f40e69bcee4218d22a0d
Author: David Prévot <taffit at debian.org>
Date:   Tue Apr 7 21:31:56 2015 -0400

    Also handle AWS SDK loading via classmap
    
    It used to rely on the generic ClassLoader.
---
 debian/autoload.php | 3 +++
 debian/control      | 1 +
 2 files changed, 4 insertions(+)

diff --git a/debian/autoload.php b/debian/autoload.php
index dc86012..bf29409 100644
--- a/debian/autoload.php
+++ b/debian/autoload.php
@@ -16,6 +16,9 @@ require_once 'Symfony/Component/Console/autoload.php';
 require_once 'Symfony/Component/Routing/autoload.php';
 require_once 'Pimple/autoload.php';
 require_once 'Patchwork/JSqueeze.autoload.php';
+if (stream_resolve_include_path('Aws/autoload.php')){
+    include_once 'Aws/autoload.php';
+}
 
 // Load bantu/ini-get-wrapper, pear/archive_tar, and pear/pear_exception,
 // as generated via phpab:
diff --git a/debian/control b/debian/control
index 8ef6628..a4ddc2d 100644
--- a/debian/control
+++ b/debian/control
@@ -47,6 +47,7 @@ Depends: libjs-handlebars,
          ${misc:Depends}
 Recommends: exim4 | mail-transport-agent,
             php-aws-sdk (<< 3),
+            php-aws-sdk (>= 2.7.27),
             php-dropbox,
             php-google-api-php-client (>= 1),
             php5-apcu | php5-xcache,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list