now lang id is correctly got from fp_config[locale][lang];

todo: check encoding!
This commit is contained in:
real_nowhereman 2007-11-25 16:45:47 +00:00
parent 6aec1ba197
commit 4f1c0371d1
3 changed files with 2 additions and 5 deletions

View File

@ -65,8 +65,6 @@
'theme' => $fp_config['general']['theme'], 'theme' => $fp_config['general']['theme'],
'style' => @$fp_config['general']['style'], 'style' => @$fp_config['general']['style'],
'blogid' => $fp_config['general']['blogid'], 'blogid' => $fp_config['general']['blogid'],
'lang' => 'en-us',
'charset'=> 'utf-8', 'charset'=> 'utf-8',
); );

View File

@ -15,7 +15,6 @@ $fp_config = array (
'theme' => 'leggero', 'theme' => 'leggero',
'style' => 'leggero', 'style' => 'leggero',
'blogid' => 'fpdefid', 'blogid' => 'fpdefid',
'lang' => 'en-us',
'charset' => 'utf-8', 'charset' => 'utf-8',
), ),
'locale' => 'locale' =>

View File

@ -28,7 +28,7 @@
} }
$fpath=LANG_DIR."{$fp_config['general']['lang']}/$file"; $fpath=LANG_DIR."{$fp_config['locale']['lang']}/$file";
$fallback=LANG_DIR.LANG_DEFAULT."/$file"; $fallback=LANG_DIR.LANG_DEFAULT."/$file";