summaryrefslogtreecommitdiffstats
path: root/lib/setup.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/setup.php')
-rw-r--r--lib/setup.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/setup.php b/lib/setup.php
index 0a8c9650cbc..a3cefad62b0 100644
--- a/lib/setup.php
+++ b/lib/setup.php
@@ -188,6 +188,7 @@ class OC_SETUP {
$content.= "php_value upload_max_filesize 20M\n";//upload limit
$content.= "php_value post_max_size 20M\n";
$content.= "SetEnv htaccessWorking true\n";
+ $content.= "Options -Indexes\n";
@file_put_contents($SERVERROOT.'/.htaccess', $content); //supress errors in case we don't have permissions for it
$content = "deny from all";