index 6fae266d4474d2ba7f7af13ff19ab0d19b7c9087..8107ef4e659dd87c4c282ac370ed5f9beb35da8c 100644 (file)
restore_error_handler();
header("Content-type: text/html; charset=UTF-8");
-session_start();
+session::start();
/* If no config object is found in the session, abort help */
if (!session::is_set('config')){
$GLOBALS['t_gettext_message_dir'] = $BASE_DIR.'/locale/';
$domain = 'messages';
-bindtextdomain($domain, "$BASE_DIR/locale");
+bindtextdomain($domain, LOCALE_DIR);
textdomain($domain);
@DEBUG (DEBUG_TRACE, __LINE__, __FUNCTION__, __FILE__, $lang, "Setting language to");