Skip to content
Snippets Groups Projects
Commit c9ac1364 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

"deny from all" instead directory

parent 3eb43c1f
No related branches found
No related tags found
No related merge requests found
......@@ -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(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment