diff -r 45e887f23282 -r 7152ca0a0ce9 install/includes/payload.php --- a/install/includes/payload.php Mon Feb 16 16:04:54 2009 -0500 +++ b/install/includes/payload.php Mon Feb 16 16:17:25 2009 -0500 @@ -433,7 +433,7 @@ function stg_lang_import() { - global $db, $languages; + global $db, $languages, $do_langimport; define('IN_ENANO_UPGRADE_POST', 1); @@ -460,7 +460,7 @@ // generate full path $language_file = ENANO_ROOT . "/language/{$languages[$row['lang_code']]['dir']}/$language_file.json"; // setting the second parameter to bool(true) causes it to skip existing strings - if ( !$lang_local->import($language_file, true) ) + if ( !$lang_local->import($language_file, ( !$do_langimport )) ) // on failure, report failure to libenanoinstall return false; }