Skip to content

Commit

Permalink
minor claimasset tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
jessevondoom committed May 3, 2010
1 parent 74fe927 commit ca4cd60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions claimasset.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
// use S3 secured download:
require_once('./lib/S3.php');
if (!defined('AMAZONS3_KEY') || !defined('AMAZONS3_SECRET')) {
header('Location: ./');
header('Location: '.$returnurl);
}
$s3 = new S3(AMAZONS3_KEY, AMAZONS3_SECRET);
header("Location: " . S3::getAuthenticatedURL(AMAZONS3_BUCKET, DOWNLOAD_URI, 120));
Expand All @@ -31,7 +31,7 @@
header('Location: ' . DOWNLOAD_URI);
}
} else {
header('Location: '.$returnurl.'?logout=1');
header('Location: '.$returnurl);
}
} else {
header('Location: '.$returnurl);
Expand Down

0 comments on commit ca4cd60

Please sign in to comment.