fixes : ps
This commit is contained in:
parent
6afbeaf12a
commit
89a5e829d2
@ -300,7 +300,7 @@ class Sales_PD_Controller extends REST_Controller {
|
|||||||
if($api)
|
if($api)
|
||||||
{
|
{
|
||||||
## NEW KEY BECAUSE TITLE-RENAME
|
## NEW KEY BECAUSE TITLE-RENAME
|
||||||
$_uri = $this->aws_s3->getSingleObjectInaBucketAsSignedURI($bucket_name,$key,'30 minutes');
|
$_uri = $this->aws_s3->getSingleObjectInaBucketAsSignedURI($bucket_name,$bucketkey,'30 minutes');
|
||||||
$headers = @get_headers($_uri);
|
$headers = @get_headers($_uri);
|
||||||
if($headers && strpos( $headers[0], '200')) {
|
if($headers && strpos( $headers[0], '200')) {
|
||||||
$singed_uri = $_uri;
|
$singed_uri = $_uri;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user