diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2019-10-28 20:13:31 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-28 20:13:31 +0300 |
commit | 97d901ce6904cc54aae1e597d69c1fdd5d590eb5 (patch) | |
tree | 860b6cdf510b9238d14bb4346c49a686ac5b00d7 /plugins/Installation | |
parent | 70d98711f5f52fc2f80cf8ee23255269e3fca1bb (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.php | 2 |
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 |