From c9ac1364d179bde343f0fd943d30b6fdc3330a0d Mon Sep 17 00:00:00 2001
From: Lukas Reschke <lukas@statuscode.ch>
Date: Mon, 15 Oct 2012 23:35:27 +0200
Subject: [PATCH] "deny from all" instead directory

---
 lib/setup.php | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

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