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