Last active
December 22, 2015 16:19
-
-
Save codehooligans/6498950 to your computer and use it in GitHub Desktop.
Snapshot hard-code destination options.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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