Commit 5badbcfb authored by Ryan McCue's avatar Ryan McCue
Browse files

Merge pull request #104 from humanmade/feature/fix-undefined-constant

account for undefined S3_UPLOADS_KEY and S3_UPLOADS_SECRET
parents 27ab0a45 537afecd
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -19,8 +19,8 @@ class S3_Uploads {
		if ( ! self::$instance ) {
			self::$instance = new S3_Uploads(
				S3_UPLOADS_BUCKET,
				S3_UPLOADS_KEY,
				S3_UPLOADS_SECRET,
				defined( 'S3_UPLOADS_KEY' ) ? S3_UPLOADS_KEY : null,
				defined( 'S3_UPLOADS_SECRET' ) ? S3_UPLOADS_SECRET : null,
				defined( 'S3_UPLOADS_BUCKET_URL' ) ? S3_UPLOADS_BUCKET_URL : null,
				S3_UPLOADS_REGION
			);