diff options
Diffstat (limited to 'src/SemanticScuttle/header.php')
| -rw-r--r-- | src/SemanticScuttle/header.php | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/SemanticScuttle/header.php b/src/SemanticScuttle/header.php index 5b411d9..ee208b2 100644 --- a/src/SemanticScuttle/header.php +++ b/src/SemanticScuttle/header.php @@ -52,7 +52,7 @@ require_once 'SemanticScuttle/utf8.php';  require_once 'php-gettext/gettext.inc';  $domain = 'messages';  T_setlocale(LC_MESSAGES, $locale); -T_bindtextdomain($domain, dirname(__FILE__) . '/locales'); +T_bindtextdomain($domain, realpath($datadir . 'locales/'));  T_bind_textdomain_codeset($domain, 'UTF-8');  T_textdomain($domain); @@ -83,7 +83,7 @@ $tplVars = array();  $tplVars['currentUser'] = $currentUser;  $tplVars['userservice'] = $userservice; -// 6 // Force UTF-8 behaviour for server (cannot be move into top.inc.php which is not included into every file) +// 6 // Force UTF-8 behaviour for server (cannot be moved into top.inc.php which is not included into every file)  if (!defined('UNIT_TEST_MODE')) {      header('Content-Type: text/html; charset=utf-8');  } | 
