From 54b31fa6983f17d6d0b325cee1a0710147f497b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Thu, 20 Apr 2017 16:10:05 +0200 Subject: Mediawiki: Fix path to cache directory --- modules/mediawiki/templates/LocalSettings.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ) ); -- cgit v1.2.1