From: Daniel Molkentin Date: Wed, 24 Apr 2013 13:11:58 +0000 (+0200) Subject: sync parameters in setup.php with the ones in the actual .htaccess X-Git-Tag: v6.0.0alpha2~866^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6ac2fdf44b636243630febd676090e4f6d138d69;p=nextcloud-server.git sync parameters in setup.php with the ones in the actual .htaccess --- diff --git a/lib/setup.php b/lib/setup.php index c330729298e..d1197b3ebf3 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -828,6 +828,10 @@ class OC_Setup { $content.= "AddType image/svg+xml svg svgz\n"; $content.= "AddEncoding gzip svgz\n"; $content.= "\n"; + $content.= "\n"; + $content.= "DirectoryIndex index.php index.html\n"; + $content.= "\n"; + $content.= "AddDefaultCharset utf-8\n"; $content.= "Options -Indexes\n"; @file_put_contents(OC::$SERVERROOT.'/.htaccess', $content); //supress errors in case we don't have permissions for it