Permalink
Browse files

Another bit of themes during upgrade

Signed-off-by: emanuele <emanuele45@gmail.com>
  • Loading branch information...
emanuele45 committed Jan 22, 2013
1 parent 68cb5a4 commit a4e04d7c6c3b32d7fc612abc12c34192ccc841f8
Showing with 2 additions and 2 deletions.
  1. +2 −2 other/upgrade.php
View
@@ -616,8 +616,8 @@ function close()
$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

0 comments on commit a4e04d7

Please sign in to comment.