diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2012-10-15 23:35:27 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2012-10-15 23:35:27 +0200 |
commit | c9ac1364d179bde343f0fd943d30b6fdc3330a0d (patch) | |
tree | d4cc21700ee8e4398133a9fdc715b4ab0c7dd64e /lib/setup.php | |
parent | 3eb43c1fbe61a1663abc4e885f663250e57c6be1 (diff) | |
download | nextcloud-server-c9ac1364d179bde343f0fd943d30b6fdc3330a0d.tar.gz nextcloud-server-c9ac1364d179bde343f0fd943d30b6fdc3330a0d.zip |
"deny from all" instead directory
Diffstat (limited to 'lib/setup.php')
-rw-r--r-- | lib/setup.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/setup.php b/lib/setup.php index 8b9103b7501..716b0ef063d 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -7,9 +7,7 @@ $hasOracle = is_callable('oci_connect'); $datadir = OC_Config::getValue('datadirectory', OC::$SERVERROOT.'/data'); // Test if .htaccess is working -$content = "<Directory /data>\n"; -$content.= "Deny from All\n"; -$content.= "</Directory>"; +$content = "deny from all"; file_put_contents(OC::$SERVERROOT.'/data/.htaccess', $content); $opts = array( |