Commit ad06bb4d authored by Joe Hoyle's avatar Joe Hoyle
Browse files

Use signatire V4, as it doesn't work in Frankfurt

parent 5b740080
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -94,7 +94,7 @@ class S3_Uploads {
		if ( ! empty( $this->s3 ) )
			return $this->s3;

		$this->s3 = Aws\Common\Aws::factory( array( 'key' => $this->key, 'secret' => $this->secret ) )->get( 's3' );
		$this->s3 = Aws\Common\Aws::factory( array( 'key' => $this->key, 'secret' => $this->secret, 'signature' => 'v4' ) )->get( 's3' );

		return $this->s3;
	}