From 6fd4eb2add253b9c96b3d6cc8fedf36fbd696d48 Mon Sep 17 00:00:00 2001 From: czaks Date: Sun, 5 Apr 2015 20:23:57 +0200 Subject: [PATCH] fix a locale issue --- inc/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/functions.php b/inc/functions.php index a9e912bd..147d269e 100755 --- a/inc/functions.php +++ b/inc/functions.php @@ -32,7 +32,7 @@ loadConfig(); function init_locale($locale, $error='error') { if (extension_loaded('gettext')) { if (setlocale(LC_ALL, $locale) === false) { - $error('The specified locale (' . $locale . ') does not exist on your platform!'); + //$error('The specified locale (' . $locale . ') does not exist on your platform!'); } bindtextdomain('tinyboard', './inc/locale'); bind_textdomain_codeset('tinyboard', 'UTF-8');