aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/functions.inc.php')
-rw-r--r--include/functions.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php
index 52c4d418f..7d8957bd3 100644
--- a/include/functions.inc.php
+++ b/include/functions.inc.php
@@ -1512,7 +1512,7 @@ function load_language($filename, $dirname = '', $options = array())
}
$dirname .= 'language/';
- $default_language = defined('PHPWG_INSTALLED') ?
+ $default_language = defined('PHPWG_INSTALLED') and !defined('UPGRADES_PATH') ?
get_default_language() : PHPWG_DEFAULT_LANGUAGE;
// construct list of potential languages