Closed nomadicjosh closed 10 years ago
Path should be a path like dirname
. Due to a design flaw in elFinder, root (i.e. /
or empty) path cannot be used (#2).
URL is just the public accessible URL of specified path (eg. https://s3-ap-southeast-1.amazonaws.com/bucketname/
or the subdomain version https://bucketname.s3-ap-southeast-1.amazonaws.com/
).
Thank you.
I've implemented amazon s3 class but I am getting the error that it cannot connect in the backend. I did not see any examples for path or url, so can you tell me if what I have below is correct? Thanks.
$opts = array( // 'debug' => true, 'roots' => array( array( 'driver' => 'S3', 'path' => 'http://testbucket.s3.amazonaws.com/', 'URL' => 'http://testbucket.s3.amazonaws.com/', "s3" => array( "key" => "hidden", "secret" => "hidden", "region" => "us-east-1" ), "bucket" => "testbucket", "acl" => "private" ), ) );