From: Lukas Reschke Date: Wed, 28 Jan 2015 11:42:15 +0000 (+0100) Subject: Reference module with `.c` X-Git-Tag: v8.0.0RC1~17^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=20199dd168faaff624434ba9d5b24d77788d6fa1;p=nextcloud-server.git Reference module with `.c` Fixes https://github.com/owncloud/core/issues/13657 --- diff --git a/.htaccess b/.htaccess index 962e969d59c..78e6255c878 100644 --- a/.htaccess +++ b/.htaccess @@ -13,7 +13,7 @@ php_value post_max_size 513M php_value memory_limit 512M php_value mbstring.func_overload 0 php_value always_populate_raw_post_data -1 - + SetEnv htaccessWorking true @@ -34,7 +34,7 @@ RewriteRule ^(\.|autotest|occ|issue|indie|db_|console).* - [R=404,L] AddType image/svg+xml svg svgz AddEncoding gzip svgz - + DirectoryIndex index.php index.html AddDefaultCharset utf-8 diff --git a/config/.htaccess b/config/.htaccess index 2421e9a1631..c7a7b79feac 100644 --- a/config/.htaccess +++ b/config/.htaccess @@ -1,10 +1,10 @@ # line below if for Apache 2.4 - + Require all denied # line below if for Apache 2.2 - + deny from all 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.= "\n"; + $content.= "\n"; $content.= "Require all denied\n"; $content.= "\n\n"; $content.= "# line below if for Apache 2.2\n"; - $content.= "\n"; + $content.= "\n"; $content.= "deny from all\n"; $content.= "\n\n"; $content.= "# section for Apache 2.2 and 2.4\n";