Security : add redirect in javascript and with header
This commit is contained in:
parent
22f33636a5
commit
a6c0e9650b
6 changed files with 32 additions and 13 deletions
|
|
@ -41,7 +41,7 @@ mb_internal_encoding("UTF-8");
|
|||
// if gDossier is not set redirect to form to choose a folder
|
||||
if ( ! isset($_REQUEST['gDossier']))
|
||||
{
|
||||
redirect('user_login.php');
|
||||
redirect_header('user_login.php');
|
||||
exit();
|
||||
}
|
||||
if ( ! isset ($_SESSION[SESSION_KEY.'g_user']))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue