Browse Source

Another bit of themes during upgrade

Signed-off-by: emanuele <[email protected]>
emanuele 11 years ago
parent
commit
a4e04d7c6c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      other/upgrade.php

+ 2 - 2
other/upgrade.php

@@ -616,8 +616,8 @@ if (isset($_GET['data']))
 	$support_js = $upcontext['upgrade_status']['js'];
 
 	// Load the language.
-	if (file_exists($boarddir . '/Themes/default/languages/Install.' . $upcontext['language'] . '.php'))
-		require_once($boarddir . '/Themes/default/languages/Install.' . $upcontext['language'] . '.php');
+	if (file_exists($modSettings['theme_dir'] . '/languages/Install.' . $upcontext['language'] . '.php'))
+		require_once($modSettings['theme_dir'] . '/languages/Install.' . $upcontext['language'] . '.php');
 }
 // Set the defaults.
 else