aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mediawiki
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-04-20 12:04:48 +0200
committerRémi Verschelde <rverschelde@gmail.com>2017-04-20 12:04:50 +0200
commit8329a408c5718555f440dd42847ca656cebbffe9 (patch)
tree77939aa8ad2b9c9008343ef61524554e040e054c /modules/mediawiki
parentad9a2fcf622da6a9a966bc2bea776dea38752538 (diff)
downloadpuppet-8329a408c5718555f440dd42847ca656cebbffe9.tar
puppet-8329a408c5718555f440dd42847ca656cebbffe9.tar.gz
puppet-8329a408c5718555f440dd42847ca656cebbffe9.tar.bz2
puppet-8329a408c5718555f440dd42847ca656cebbffe9.tar.xz
puppet-8329a408c5718555f440dd42847ca656cebbffe9.zip
Mediawiki: Readd include path, necessary to load LDAP module
Diffstat (limited to 'modules/mediawiki')
-rw-r--r--modules/mediawiki/templates/LocalSettings.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/mediawiki/templates/LocalSettings.php b/modules/mediawiki/templates/LocalSettings.php
index 7dfb1de1..48504737 100644
--- a/modules/mediawiki/templates/LocalSettings.php
+++ b/modules/mediawiki/templates/LocalSettings.php
@@ -14,6 +14,13 @@ if ( !defined( 'MEDIAWIKI' ) ) {
exit;
}
+## Installation path (should default to this value, but define for clarity)
+$IP = '/usr/share/mediawiki';
+
+## Include path necessary to load LDAP module
+$path = array( $IP, "$IP/includes", "$IP/languages" );
+set_include_path( implode( PATH_SEPARATOR, $path ) . PATH_SEPARATOR . get_include_path() );
+
## Uncomment this to disable output compression
# $wgDisableOutputCompression = true;