diff options
-rw-r--r-- | lib/setup.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/setup.php b/lib/setup.php index ecdf44b9f97..9bb6e2df513 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -287,6 +287,7 @@ class OC_Setup { $content = "deny from all\n"; $content.= "IndexIgnore *"; file_put_contents(OC_Config::getValue('datadirectory', $SERVERROOT.'/data').'/.htaccess', $content); + file_put_contents(OC_Config::getValue('datadirectory', $SERVERROOT.'/data').'/index.html', ''); } } |