mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-24 22:35:58 +02:00
Fix setting visual console as home screen - #1694
This commit is contained in:
parent
8fcf3a7045
commit
412374ef25
@ -544,7 +544,12 @@ if (! isset ($config['id_user'])) {
|
|||||||
exit ("</html>");
|
exit ("</html>");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if($home_page != 'Visual console'){
|
||||||
header("Location: ".$config['homeurl']."index.php?sec=".$_GET["sec"]."&sec2=".$_GET["sec2"]);
|
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
|
// Hash login process
|
||||||
elseif (isset ($_GET["loginhash"])) {
|
elseif (isset ($_GET["loginhash"])) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user