From dbe9d1f20f41dcd07bac6949ebe67b4de5ed4e2b Mon Sep 17 00:00:00 2001 From: michael Date: Wed, 15 Jan 2003 09:06:25 +0000 Subject: [PATCH] more debug logging --- control.php | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) diff --git a/control.php b/control.php index 94de167..5dd153d 100644 --- a/control.php +++ b/control.php @@ -48,9 +48,11 @@ if (checkSession()) { // reset authorisation flag before checking access $_SESSION["authorised"] = false; +$default->log->debug("control.php about to retrieve page from sitemap"); // check whether the users group has access to the requested page $page = $default->siteMap->getPage($action, $_SESSION["groupID"]); +$default->log->debug("control.php retrieved page=$page"); if (!$page) { // this group doesn't have permission to access the page // or there is no page mapping for the requested action @@ -63,6 +65,7 @@ if (!$page) { } else { // set authorised flag and redirect $_SESSION["authorised"] = true; + $default->log->debug("control.php:: set authorised flag:" . $_SESSION["authorised"]); redirect($page); } -- libgit2 0.21.4