Commit bcd374275efe9ea829ada7a65186d0c9d002588d

Authored by michael
1 parent 46dc8efc

added debug logging


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@406 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 1 additions and 0 deletions
lib/session/control.inc
@@ -103,6 +103,7 @@ function checkSessionAndRedirect($bRedirect) { @@ -103,6 +103,7 @@ function checkSessionAndRedirect($bRedirect) {
103 function checkSession() { 103 function checkSession() {
104 global $default; 104 global $default;
105 if (checkSessionAndRedirect(true)) { 105 if (checkSessionAndRedirect(true)) {
  106 + $default->log->debug("control.inc print the session variables: " . arrayToString($_SESSION));
106 // the session is cool, now check if we access to this page 107 // the session is cool, now check if we access to this page
107 $default->log->debug("control.inc page=" . $_SERVER['PHP_SELF'] . "?" . $_SESSION["pageAccess"][$_SERVER['PHP_SELF']]); 108 $default->log->debug("control.inc page=" . $_SERVER['PHP_SELF'] . "?" . $_SESSION["pageAccess"][$_SERVER['PHP_SELF']]);
108 if ($_SESSION["pageAccess"][$_SERVER['PHP_SELF']]) { 109 if ($_SESSION["pageAccess"][$_SERVER['PHP_SELF']]) {