Fix setting visual console as home screen - #1694

This commit is contained in:
enriquecd 2018-01-12 11:06:42 +01:00
parent 8fcf3a7045
commit 412374ef25
1 changed files with 5 additions and 0 deletions

View File

@ -544,7 +544,12 @@ if (! isset ($config['id_user'])) {
exit ("</html>");
}
}
if($home_page != 'Visual console'){
header("Location: ".$config['homeurl']."index.php?sec=".$_GET["sec"]."&sec2=".$_GET["sec2"]);
}
else{
header("Location: ".$config['homeurl']."index.php?sec=".$_GET["sec"]);
}
}
// Hash login process
elseif (isset ($_GET["loginhash"])) {