check that g_user exists and not the g_theme
This commit is contained in:
parent
d06f7a89d5
commit
af2cd88fe1
1 changed files with 2 additions and 1 deletions
|
|
@ -34,6 +34,7 @@ require_once NOALYSS_INCLUDE.'/lib/html_input.class.php';
|
|||
require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/icon_action.class.php';
|
||||
$http=new HttpInput();
|
||||
|
||||
mb_internal_encoding("UTF-8");
|
||||
// if gDossier is not set redirect to form to choose a folder
|
||||
if ( ! isset($_REQUEST['gDossier']))
|
||||
|
|
@ -41,7 +42,7 @@ if ( ! isset($_REQUEST['gDossier']))
|
|||
redirect('user_login.php');
|
||||
exit();
|
||||
}
|
||||
if ( ! isset ($_SESSION[SESSION_KEY.'g_theme']))
|
||||
if ( ! isset ($_SESSION[SESSION_KEY.'g_user']))
|
||||
{
|
||||
echo "<h2>"._('Vous êtes déconnecté')."</h2>";
|
||||
$backurl=$_SERVER['REQUEST_URI'];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue