diff --git a/lib/setup.php b/lib/setup.php index 8b9103b750160e54cdeaf346596acf79fada9fc7..716b0ef063de4e1c5c94f2c4dc0f49866a724029 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(