From: Chad Horohoe Date: Wed, 18 Aug 2010 13:11:43 +0000 (+0000) Subject: Use absolute path to i18n file, relative path is likely to break X-Git-Tag: 1.31.0-rc.0~35455 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=5da196e4e97230230c3f272bd400b42b284cd6f8;p=lhc%2Fweb%2Fwiklou.git Use absolute path to i18n file, relative path is likely to break --- diff --git a/includes/installer/CoreInstaller.php b/includes/installer/CoreInstaller.php index f44f602c27..63c70972d2 100644 --- a/includes/installer/CoreInstaller.php +++ b/includes/installer/CoreInstaller.php @@ -186,7 +186,7 @@ abstract class CoreInstaller extends Installer { // Load the installer's i18n file. $wgExtensionMessagesFiles['MediawikiInstaller'] = - './includes/installer/Installer.i18n.php'; + dirname( __FILE__ ) . '/Installer.i18n.php'; // Having a user with id = 0 safeguards us from DB access via User::loadOptions(). $wgUser = User::newFromId( 0 );