X-Git-Url: http://git.datanom.net/qtadmin.git/blobdiff_plain/18d80742bf7b275c5136a3594173b94ff766f365..cd212b173cc6e780f2c0b8be756f529e04d8731b:/lib/utils.inc.php diff --git a/lib/utils.inc.php b/lib/utils.inc.php index a792bd5..dc6625a 100644 --- a/lib/utils.inc.php +++ b/lib/utils.inc.php @@ -178,7 +178,7 @@ class Utils { global $CFG; $loggedIn = false; - echo '$this->user: '.$this->user.' $_SESSION['user']: '.$_SESSION['user']; + echo '$this->user: '.$this->user.' $_SESSION[\'user\']: '.$_SESSION['user']; if ($this->user) { $loggedIn = true; } else if (isset($_SESSION['user'])) { @@ -193,7 +193,7 @@ class Utils { } } - if ($loggedIn == false { + if ($loggedIn == false) { echo 'R_TIME: '.date('c', $_SERVER['REQUEST_TIME']).' L_ACT: '.date('c', $_SESSION['LAST_ACTIVITY']); exit; }