From ecbf9ff90a3adc65730c142da9f36613e9869a14 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Mon, 15 Oct 2012 23:35:27 +0200 Subject: "deny from all" instead directory --- lib/setup.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/setup.php b/lib/setup.php index 44fa47a68d8..27234635044 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -6,9 +6,7 @@ $hasPostgreSQL = is_callable('pg_connect'); $datadir = OC_Config::getValue('datadirectory', OC::$SERVERROOT.'/data'); // Test if .htaccess is working -$content = "\n"; -$content.= "Deny from All\n"; -$content.= ""; +$content = "deny from all"; file_put_contents(OC::$SERVERROOT.'/data/.htaccess', $content); $opts = array( -- cgit v1.2.3