index a9c1cba32314f079637def394c605daf160832a4..f4a8532ba9f61765b5d367ba578f688ca279c654 100644 (file)
--- a/gosa-core/html/index.php
+++ b/gosa-core/html/index.php
}
$smarty->assign("msg_dialogs", msg_dialog::get_dialogs());
$smarty->display (get_template_path('headers.tpl'));
+ $smarty->assign("version",get_gosa_version());
$smarty->display(get_template_path('login.tpl'));
exit();
}
@@ -271,8 +272,8 @@ if (($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['login'])) || $htacces
exit() ;
}else{
$cfg = array();
- $cfg['admin'] = $config->get_admin_dn();
- $cfg['password'] = $config->get_admin_password();
+ $cfg['admin'] = $config->current['ADMIN'];
+ $cfg['password'] = $config->current['PASSWORD'];
$cfg['connection']= $config->current['SERVER'];
$cfg['tls'] = $tls;
$str = check_schema($cfg,isset($config->current['RFC2307BIS']) && preg_match("/(true|yes|on|1)/i",$config->current['RFC2307BIS']));