Code

no shutdown if no registration server found, instead, try again and again and again ...
[gosa.git] / gosa-core / html / password.php
index 801bba2cd64b0055304c971bf23a55f3c48510c2..6e3d205a3cb10bfe4f1db203243f5b85f8c414f9 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 */
@@ -285,6 +285,7 @@ if ($ssl != "" && $config->data['MAIN']['WARNSSL'] == 'true'){
 }
 
 /* show login screen */
+$smarty->assign("JS",session::get('js'));
 $smarty->assign ("PHPSESSID", session_id());
 if (session::is_set('errors')){
   $smarty->assign("errors", session::get('errors'));;