Set if GET['domain']
This commit is contained in:
parent
464e724c08
commit
8bfc81b0da
|
@ -10,5 +10,9 @@ if (empty($_SESSION['login'])) {
|
|||
if (!$server = new LdapServer($_SESSION['login'])) {
|
||||
print "<div class=\"alert alert-danger\" role=\"alert\">Erreur de connexion LDAP !</div>";
|
||||
exit(1);
|
||||
} else {
|
||||
if (!empty($_GET['domain'])) {
|
||||
$domain = new LdapDomain($server, Html::clean($_GET['domain']));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue