Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <tsteur@users.noreply.github.com>2019-10-28 20:13:31 +0300
committerGitHub <noreply@github.com>2019-10-28 20:13:31 +0300
commit97d901ce6904cc54aae1e597d69c1fdd5d590eb5 (patch)
tree860b6cdf510b9238d14bb4346c49a686ac5b00d7 /plugins/Installation
parent70d98711f5f52fc2f80cf8ee23255269e3fca1bb (diff)
Make getDenyHtaccessContent method public (#15062)
Needing it in https://github.com/matomo-org/wp-matomo/pull/42/files
Diffstat (limited to 'plugins/Installation')
-rw-r--r--plugins/Installation/ServerFilesGenerator.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Installation/ServerFilesGenerator.php b/plugins/Installation/ServerFilesGenerator.php
index f68f653504..28ebfe0c9c 100644
--- a/plugins/Installation/ServerFilesGenerator.php
+++ b/plugins/Installation/ServerFilesGenerator.php
@@ -232,7 +232,7 @@ Header set Cache-Control \"Cache-Control: private, no-cache, no-store\"
/**
* @return string
*/
- protected static function getDenyHtaccessContent()
+ public static function getDenyHtaccessContent()
{
# Source: https://github.com/phpbb/phpbb/pull/2386/files#diff-f72a38c4bec79cc6ded3f8e435d6bd55L11
# With Apache 2.4 the "Order, Deny" syntax has been deprecated and moved from