diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2012-10-16 01:35:27 +0400 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2012-10-16 17:58:59 +0400 |
commit | ecbf9ff90a3adc65730c142da9f36613e9869a14 (patch) | |
tree | eb7019de76f3350fbc9c976912150fa7d052d237 /lib | |
parent | 4a1f1a49a0fdad2f95b09c9c3c352fe3c74c9542 (diff) |
"deny from all" instead directory
Diffstat (limited to 'lib')
-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 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 = "<Directory /data>\n"; -$content.= "Deny from All\n"; -$content.= "</Directory>"; +$content = "deny from all"; file_put_contents(OC::$SERVERROOT.'/data/.htaccess', $content); $opts = array( |