Skip to content

Commit

Permalink
Add region support in secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
joehoyle committed Apr 29, 2016
1 parent c9848a2 commit 696b2cd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,8 @@ function _manually_load_plugin() {
define( 'S3_UPLOADS_SECRET', getenv( 'S3_UPLOADS_SECRET' ) );
}

if ( getenv( 'S3_UPLOADS_REGION' ) ) {
define( 'S3_UPLOADS_REGION', getenv( 'S3_UPLOADS_REGION' ) );
}

require $test_root . '/includes/bootstrap.php';

0 comments on commit 696b2cd

Please sign in to comment.