aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mediawiki/templates
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mediawiki/templates')
-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;