summaryrefslogtreecommitdiffstats
path: root/lib/private/setup.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-01-28 12:42:15 +0100
committerLukas Reschke <lukas@owncloud.com>2015-01-28 13:15:32 +0100
commit20199dd168faaff624434ba9d5b24d77788d6fa1 (patch)
treec054ea334ee0b3f511732c95fb759e7a4673d4be /lib/private/setup.php
parent55142186deb9e163ce3519453ebfe93f6a446666 (diff)
downloadnextcloud-server-20199dd168faaff624434ba9d5b24d77788d6fa1.tar.gz
nextcloud-server-20199dd168faaff624434ba9d5b24d77788d6fa1.zip
Reference module with `.c`
Fixes https://github.com/owncloud/core/issues/13657
Diffstat (limited to 'lib/private/setup.php')
-rw-r--r--lib/private/setup.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/setup.php b/lib/private/setup.php
index a350838763f..e3a29b6469d 100644
--- a/lib/private/setup.php
+++ b/lib/private/setup.php
@@ -287,11 +287,11 @@ class OC_Setup {
$now = date('Y-m-d H:i:s');
$content = "# Generated by ownCloud on $now\n";
$content.= "# line below if for Apache 2.4\n";
- $content.= "<ifModule mod_authz_core>\n";
+ $content.= "<ifModule mod_authz_core.c>\n";
$content.= "Require all denied\n";
$content.= "</ifModule>\n\n";
$content.= "# line below if for Apache 2.2\n";
- $content.= "<ifModule !mod_authz_core>\n";
+ $content.= "<ifModule !mod_authz_core.c>\n";
$content.= "deny from all\n";
$content.= "</ifModule>\n\n";
$content.= "# section for Apache 2.2 and 2.4\n";