]> git.datanom.net - qtadmin.git/blobdiff - lib/utils.inc.php
Add check for valid session
[qtadmin.git] / lib / utils.inc.php
index c06729f7e023dbe7dd73bc2dbd174121337e0107..5c3a0cd28eb5bcc280a95c674bcdd54ff13b4773 100644 (file)
@@ -247,13 +247,15 @@ class Utils {
         global $CFG;
         $loggedIn = false;
 
         global $CFG;
         $loggedIn = false;
 
-        $this->log("isLoggedIn", 4);
+        $this->log("isLoggedIn[1]\n".var_export($this->settings, true), 3);
 
         if ('' == session_id()) {
             $this->startSession();
         }
 
 
         if ('' == session_id()) {
             $this->startSession();
         }
 
+        $this->log("isLoggedIn[2]\n".var_export($this->settings, true), 3);
         $this->checkSession();
         $this->checkSession();
+        $this->log("isLoggedIn[3]\n".var_export($this->settings, true), 3);
 
         if (isset($this->settings['user'])) {
             if ($this->settings['user'] != null) {
 
         if (isset($this->settings['user'])) {
             if ($this->settings['user'] != null) {
This page took 0.102524 seconds and 5 git commands to generate.