includes/lang.php
changeset 623 a7a14bc57855
parent 616 e311f5e6f904
child 626 be0e904eec17
--- 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.