aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-04-20 16:10:05 +0200
committerRémi Verschelde <rverschelde@gmail.com>2017-04-20 16:10:05 +0200
commit54b31fa6983f17d6d0b325cee1a0710147f497b0 (patch)
treea5d69928d75498b4c2fa43ac90b06a5c77b43375 /modules
parent0e07a82c58e4216f58c311a3b91bba096db2383a (diff)
downloadpuppet-54b31fa6983f17d6d0b325cee1a0710147f497b0.tar
puppet-54b31fa6983f17d6d0b325cee1a0710147f497b0.tar.gz
puppet-54b31fa6983f17d6d0b325cee1a0710147f497b0.tar.bz2
puppet-54b31fa6983f17d6d0b325cee1a0710147f497b0.tar.xz
puppet-54b31fa6983f17d6d0b325cee1a0710147f497b0.zip
Mediawiki: Fix path to cache directory
Diffstat (limited to 'modules')
-rw-r--r--modules/mediawiki/templates/LocalSettings.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/mediawiki/templates/LocalSettings.php b/modules/mediawiki/templates/LocalSettings.php
index 86b8e2a9..a7be19e3 100644
--- a/modules/mediawiki/templates/LocalSettings.php
+++ b/modules/mediawiki/templates/LocalSettings.php
@@ -97,7 +97,8 @@ $wgShellLocale = "en_US.UTF-8";
## be publically accessible from the web.
# This seems actually mandatory to get the Vector skin to work properly
# https://serverfault.com/a/744059
-$wgCacheDirectory = "$wgScriptPath/cache";
+# FIXME: Dehardcode that path (maybe via ${wiki_root} if exposed?)
+$wgCacheDirectory = "/srv/wiki/<%= path %>/cache";
# Array of interwiki prefixes for current wiki.
$wgLocalInterwikis = array( strtolower( $wgSitename ) );