[Pkg-owncloud-commits] [owncloud] 45/67: "deny from all" instead directory

David Prévot taffit at alioth.debian.org
Fri Nov 8 23:10:41 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v4.5.1
in repository owncloud.

commit c3646f55540c6ec94fd4e5f6705d0a18ea6c17e2
Author: Lukas Reschke <lukas at statuscode.ch>
Date:   Mon Oct 15 23:35:27 2012 +0200

    "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 8b9103b..716b0ef 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(

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list