now lang id is correctly got from fp_config[locale][lang];
todo: check encoding!
This commit is contained in:
parent
6aec1ba197
commit
4f1c0371d1
@ -65,8 +65,6 @@
|
||||
'theme' => $fp_config['general']['theme'],
|
||||
'style' => @$fp_config['general']['style'],
|
||||
'blogid' => $fp_config['general']['blogid'],
|
||||
|
||||
'lang' => 'en-us',
|
||||
'charset'=> 'utf-8',
|
||||
|
||||
);
|
||||
|
@ -15,7 +15,6 @@ $fp_config = array (
|
||||
'theme' => 'leggero',
|
||||
'style' => 'leggero',
|
||||
'blogid' => 'fpdefid',
|
||||
'lang' => 'en-us',
|
||||
'charset' => 'utf-8',
|
||||
),
|
||||
'locale' =>
|
||||
|
@ -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";
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user