noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 43/46: check that g_user exists and not the g


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 43/46: check that g_user exists and not the g_theme
Date: Tue, 13 Jul 2021 05:02:03 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit af2cd88fe1e16d26949e907cbdea07a6c863e83b
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Thu Jul 8 17:24:05 2021 +0200

    check that g_user exists and not the g_theme
---
 html/do.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/html/do.php b/html/do.php
index b75a754..f2775ee 100644
--- a/html/do.php
+++ b/html/do.php
@@ -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'];



reply via email to

[Prev in Thread] Current Thread [Next in Thread]