enable_path_style ( $style )

Enables the use of the older path-style URI access for all requests.

Access

public

Parameters

Parameter

Type

Required

Description

$style

string

Optional

Whether or not to enable path-style URI access for all requests. The default value is true.

Returns

Type

Description

$this

A reference to the current instance.

Related Methods

Source

Method defined in services/s3.class.php | Toggle source view (5 lines) | View on GitHub

public function enable_path_style($style = true)
{
    $this->path_style = $style;
    return $this;
}

Copyright © 2010–2013 Amazon Web Services, LLC


Feedback