Code

Updated update-gosa
[gosa.git] / gosa-core / html / password.php
index 801bba2cd64b0055304c971bf23a55f3c48510c2..7ae17215482ce4e337e8931d158c6f5df985f8f4 100644 (file)
@@ -36,7 +36,7 @@ if(!class_exists("log")){
 
 header("Content-type: text/html; charset=UTF-8");
 
-session_start();
+session::start();
 
 /* Destroy old session if exists.
     Else you will get your old session back, if you not logged out correctly. */
@@ -96,7 +96,7 @@ $GLOBALS['t_gettext_message_dir'] = $BASE_DIR.'/locale/';
 
 /* Set the text domain as 'messages' */
 $domain = 'messages';
-bindtextdomain($domain, "$BASE_DIR/locale");
+bindtextdomain($domain, LOCALE_DIR);
 textdomain($domain);
 
 /* Generate server list */