fix config global

darcs-hash:20080806122119-84dde-41fb0645db58ac5ce74b485c8cb68f7275e74915.gz
This commit is contained in:
Evan Prodromou 2008-08-06 08:21:19 -04:00
parent 0d58d4216b
commit 80aa8b83db

View File

@ -141,7 +141,7 @@ function common_init_language() {
$language . ".utf-8", $language . ".utf-8",
$language . ".UTF-8", $language . ".UTF-8",
$language); $language);
bindtextdomain("laconica", $config['site']['locale_path']); bindtextdomain("laconica", common_config('site','locale_path'));
bind_textdomain_codeset("laconica", "UTF-8"); bind_textdomain_codeset("laconica", "UTF-8");
textdomain("laconica"); textdomain("laconica");
setlocale(LC_CTYPE, 'C'); setlocale(LC_CTYPE, 'C');