Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Move aws.phar require
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Jun 28, 2016
1 parent bda365a commit 9aca1f1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/src/plugins/access.s3/S3AccessWrapper.php
Expand Up @@ -34,8 +34,6 @@

require_once(AJXP_INSTALL_PATH . "/plugins/access.fs/FsAccessWrapper.php");

require_once("aws.phar");


/**
* Encapsulation of the PEAR webDAV client
Expand All @@ -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()])) {
Expand Down

0 comments on commit 9aca1f1

Please sign in to comment.