Fixed language string loading in upgrader
authorDan
Wed, 09 Jul 2008 23:44:04 -0400
changeset 623 a7a14bc57855
parent 622 734af34cd7ad
child 624 e9c04ed3290f
Fixed language string loading in upgrader
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.