diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2017-04-20 12:04:48 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2017-04-20 12:04:50 +0200 |
commit | 8329a408c5718555f440dd42847ca656cebbffe9 (patch) | |
tree | 77939aa8ad2b9c9008343ef61524554e040e054c /modules/mediawiki | |
parent | ad9a2fcf622da6a9a966bc2bea776dea38752538 (diff) | |
download | puppet-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
Erroneously removed in c9cf51c5adb5ea021383d171f35297930b88bd9d.
Diffstat (limited to 'modules/mediawiki')
-rw-r--r-- | modules/mediawiki/templates/LocalSettings.php | 7 |
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; |