Version 5.0.0 beta 11.1
This commit is contained in:
1 parent
264eeb97e0
commit
90e8c7e903
466 files changed
+7796
-2394
No files matched your search
@@ -308,8 +308,8 @@ class Amazon extends File
|
||||
{
|
||||
parent::load();
|
||||
|
||||
/* Change the public URL to the gzipped version if the browser supports it */
|
||||
if ( $this->needsGzipVersion() and ( isset( $_SERVER['HTTP_ACCEPT_ENCODING'] ) and strpos( $_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip' ) !== false ) )
|
||||
/* Change the public URL to the gzipped version if we force gzip versions of this file. */
|
||||
if ( $this->needsGzipVersion() )
|
||||
{
|
||||
$this->url = new Url( $this->url . '.gz' );
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user