]> git.datanom.net - qtadmin.git/blobdiff - lib/utils.inc.php
Fix bug in session handler
[qtadmin.git] / lib / utils.inc.php
index 0bae909e90112c35b7808a06854abc10d876fe97..6bb5edfdd5fa86927acb500815764f9596ff37cf 100644 (file)
@@ -178,7 +178,6 @@ class Utils {
         global $CFG;
         $loggedIn = false;
 
         global $CFG;
         $loggedIn = false;
 
-        echo '$this->user: '.$this->user.' $_SESSION['user']: '.$_SESSION['user'];
         if ($this->user) {
             $loggedIn = true;
         } else if (isset($_SESSION['user'])) {
         if ($this->user) {
             $loggedIn = true;
         } else if (isset($_SESSION['user'])) {
@@ -193,7 +192,8 @@ class Utils {
             }
         }
 
             }
         }
 
-        if ($loggedIn == false) {
+        if ($loggedIn == false
+            echo '$this->user: '.$this->user.' $_SESSION[\'user\']: '.$_SESSION['user'];
             echo 'R_TIME: '.date('c', $_SERVER['REQUEST_TIME']).' L_ACT: '.date('c', $_SESSION['LAST_ACTIVITY']);
             exit;
         }
             echo 'R_TIME: '.date('c', $_SERVER['REQUEST_TIME']).' L_ACT: '.date('c', $_SESSION['LAST_ACTIVITY']);
             exit;
         }
This page took 0.044672 seconds and 5 git commands to generate.