fixup locale stuff from mikenz
darcs-hash:20080806040433-84dde-a504751a8a0329a37d866e68a9ecda6a5d629c55.gz
This commit is contained in:
parent
45983cc590
commit
0d58d4216b
|
@ -144,6 +144,13 @@ function common_init_language() {
|
|||
bindtextdomain("laconica", $config['site']['locale_path']);
|
||||
bind_textdomain_codeset("laconica", "UTF-8");
|
||||
textdomain("laconica");
|
||||
setlocale(LC_CTYPE, 'C');
|
||||
}
|
||||
|
||||
define('PAGE_TYPE_PREFS', 'text/html,application/xhtml+xml,application/xml;q=0.3,text/xml;q=0.2');
|
||||
|
||||
function common_show_header($pagetitle, $callable=NULL, $data=NULL, $headercall=NULL) {
|
||||
global $config, $xw;
|
||||
|
||||
$httpaccept = isset($_SERVER['HTTP_ACCEPT']) ? $_SERVER['HTTP_ACCEPT'] : NULL;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user