Permalink
Browse files

Move aws.phar require

  • Loading branch information...
1 parent bda365a commit 9aca1f1a22c96cf44df49e5f64f8064e0fb1875c @cdujeu cdujeu committed Jun 28, 2016
Showing with 1 addition and 2 deletions.
  1. +1 −2 core/src/plugins/access.s3/S3AccessWrapper.php
@@ -34,8 +34,6 @@
require_once(AJXP_INSTALL_PATH . "/plugins/access.fs/FsAccessWrapper.php");
-require_once("aws.phar");
-
/**
* Encapsulation of the PEAR webDAV client
@@ -54,6 +52,7 @@ class S3AccessWrapper extends FsAccessWrapper
*/
protected static function getClientForContext(ContextInterface $ctx, $registerStream = true)
{
+ require_once("aws.phar");
$repoObject = $ctx->getRepository();
if (!isSet(self::$clients[$repoObject->getId()])) {

0 comments on commit 9aca1f1

Please sign in to comment.