mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Merge branch '1694-Carrefour-Cuando-asignas-una-pantalla-de-inicio-a-un-usuario-la-URL-que-muestra-el-navegador-no-es-la-correcta-2' into 'develop'
Fix setting visual console as home screen - #1694 See merge request artica/pandorafms!1249
This commit is contained in:
commit
772a2c4f2c
@ -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