Guest User

Untitled

a guest
Sep 14th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. // Set environment variable for credentials location
  2. putenv('HOME=../');
  3.  
  4. // Set bucket name
  5. $this->bucket = $bucket;
  6.  
  7. // Create an S3Client
  8. $this->s3Client = new AwsS3S3Client([
  9. 'profile' => $this->profile,
  10. 'version' => $this->version,
  11. 'region' => $this->region
  12. ]);
Add Comment
Please, Sign In to add comment