turn off mod_pagespeed
This commit is contained in:
parent
f356894aa3
commit
5eef107344
|
@ -38,3 +38,6 @@ DirectoryIndex index.php index.html
|
||||||
</IfModule>
|
</IfModule>
|
||||||
AddDefaultCharset utf-8
|
AddDefaultCharset utf-8
|
||||||
Options -Indexes
|
Options -Indexes
|
||||||
|
<IfModule pagespeed_module>
|
||||||
|
ModPagespeed Off
|
||||||
|
</IfModule>
|
||||||
|
|
|
@ -159,6 +159,9 @@ class OC_Setup {
|
||||||
$content.= "</IfModule>\n";
|
$content.= "</IfModule>\n";
|
||||||
$content.= "AddDefaultCharset utf-8\n";
|
$content.= "AddDefaultCharset utf-8\n";
|
||||||
$content.= "Options -Indexes\n";
|
$content.= "Options -Indexes\n";
|
||||||
|
$content.= "<IfModule pagespeed_module>\n";
|
||||||
|
$content.= "ModPagespeed Off\n";
|
||||||
|
$content.= "</IfModule>\n";
|
||||||
@file_put_contents(OC::$SERVERROOT.'/.htaccess', $content); //supress errors in case we don't have permissions for it
|
@file_put_contents(OC::$SERVERROOT.'/.htaccess', $content); //supress errors in case we don't have permissions for it
|
||||||
|
|
||||||
self::protectDataDirectory();
|
self::protectDataDirectory();
|
||||||
|
|
Loading…
Reference in New Issue