Skip to content

Instantly share code, notes, and snippets.

@codehooligans
Last active December 22, 2015 16:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codehooligans/6498950 to your computer and use it in GitHub Desktop.
Save codehooligans/6498950 to your computer and use it in GitHub Desktop.
Snapshot hard-code destination options.
function load_class_destination($d_info) {
$this->destination_info['type'] = "aws"; // ALWAYS aws. Do not change.
$this->destination_info['name'] = "Your name for the destination. "; // Change this if you want.
$this->destination_info['awskey'] = ""; // Your AWS Access Key ID
$this->destination_info['secretkey'] = ""; // Your AWS Access Key Secret
$this->destination_info['ssl'] = "yes"; // Can be 'yes' or 'no'
$this->destination_info['region'] = AmazonS3::REGION_US_E1; // See line 81 for values
$this->destination_info['storage'] = AmazonS3::STORAGE_STANDARD; // See line 92 for values
$this->destination_info['acl'] = AmazonS3::ACL_PRIVATE; // See line 97 for values
$this->destination_info['bucket'] = ""; // YOUR Bucket name here.
$this->destination_info['directory'] = ""; // Directory within the Bucket
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment