Use absolute path to i18n file, relative path is likely to break
authorChad Horohoe <demon@users.mediawiki.org>
Wed, 18 Aug 2010 13:11:43 +0000 (13:11 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Wed, 18 Aug 2010 13:11:43 +0000 (13:11 +0000)
includes/installer/CoreInstaller.php

index f44f602..63c7097 100644 (file)
@@ -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 );