# HG changeset patch # User Dan # Date 1215661444 14400 # Node ID a7a14bc578553c79fa3fa4d527a749714807d166 # Parent 734af34cd7ad3ac37757bd18aa450855af12c6a4 Fixed language string loading in upgrader diff -r 734af34cd7ad -r a7a14bc57855 includes/lang.php --- a/includes/lang.php Wed Jul 09 22:49:06 2008 -0400 +++ b/includes/lang.php Wed Jul 09 23:44:04 2008 -0400 @@ -76,7 +76,7 @@ { global $db, $session, $paths, $template, $plugins; // Common objects - if ( defined('IN_ENANO_INSTALL') && !defined('ENANO_CONFIG_FETCHED') ) + if ( defined('IN_ENANO_INSTALL') && ( !defined('ENANO_CONFIG_FETCHED') || defined('IN_ENANO_UPGRADE') ) ) { // special case for the Enano installer: it will load its own strings from a JSON file and just use this API for fetching // and templatizing them.