files not viewable from the outside by adresses anymore
This commit is contained in:
parent
9411d8bb08
commit
e4f70d5bbb
1 changed files with 2 additions and 1 deletions
|
@ -284,7 +284,8 @@ class OC_Setup {
|
|||
$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";
|
||||
$content = "deny from all\n";
|
||||
$content.= "IndexIgnore *";
|
||||
file_put_contents(OC_Config::getValue('datadirectory', $SERVERROOT.'/data').'/.htaccess', $content);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue