Code

Added dependency to libnet-pcap-perl.
[gosa.git] / gosa-core / html / helpviewer.php
index 6fae266d4474d2ba7f7af13ff19ab0d19b7c9087..8107ef4e659dd87c4c282ac370ed5f9beb35da8c 100644 (file)
@@ -27,7 +27,7 @@ error_reporting(E_ALL | E_STRICT);
 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')){
@@ -55,7 +55,7 @@ $GLOBALS['t_language']= $lang;
 $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");