From a6fe3b1af87521296cabf80255634c830817279d Mon Sep 17 00:00:00 2001 From: real_nowhereman Date: Thu, 3 Jan 2008 19:50:33 +0000 Subject: [PATCH] fixed lang var, now from fp_config[locale] everywhere (I think...) --- fp-includes/core/core.language.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fp-includes/core/core.language.php b/fp-includes/core/core.language.php index 8248dc3..9f7c822 100644 --- a/fp-includes/core/core.language.php +++ b/fp-includes/core/core.language.php @@ -45,7 +45,7 @@ $dir = plugin_getdir($plugin); - $fpath = $dir . "lang/lang.{$fp_config['general']['lang']}{$path}.php"; + $fpath = $dir . "lang/lang.{$fp_config['locale']['lang']}{$path}.php"; $fallback = $dir . "lang/lang.".LANG_DEFAULT."{$path}.php"; }