Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-01-08 10:56:08 +0400
committerThomas Müller <thomas.mueller@tmit.eu>2014-01-08 10:56:08 +0400
commit5eef107344bbb3fc4a93675f6d3b63fc82ba930a (patch)
tree2caf6d6fd1c534c88075a53ed3d56f133703370e /lib/private/setup.php
parentf356894aa3f30c12cf4d6da0a98e1c0cd2881865 (diff)
turn off mod_pagespeed
Diffstat (limited to 'lib/private/setup.php')
-rw-r--r--lib/private/setup.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/setup.php b/lib/private/setup.php
index b5c530a091f..5232398d1d7 100644
--- a/lib/private/setup.php
+++ b/lib/private/setup.php
@@ -159,6 +159,9 @@ class OC_Setup {
$content.= "</IfModule>\n";
$content.= "AddDefaultCharset utf-8\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
self::protectDataDirectory();