Task #1159 - Déconnexion/reconnexion - pop-up?
Bug #1151Bug cannot display properly when only one submenu
This commit is contained in:
parent
fd6192fa09
commit
91b80006b9
3 changed files with 22 additions and 9 deletions
|
|
@ -42,7 +42,9 @@ if ( ! isset($_REQUEST['gDossier']))
|
|||
if ( ! isset ($_SESSION['g_theme']))
|
||||
{
|
||||
echo "<h2>"._('Vous êtes déconnecté')."</h2>";
|
||||
redirect('user_login.php');
|
||||
$backurl=$_SERVER['REQUEST_URI'];
|
||||
$url="index.php?".http_build_query(array('reconnect'=>1,'backurl'=>urlencode($backurl)));
|
||||
redirect($url);
|
||||
exit();
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue