Commit d4a6eea8b8776cc3716df5fc3672ad0552ef0eb1

Authored by Michael Joseph
1 parent 3690cab5

more debug logging


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@481 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 2 additions and 1 deletions
lib/session/SiteMap.inc
@@ -193,6 +193,7 @@ class SiteMap { @@ -193,6 +193,7 @@ class SiteMap {
193 */ 193 */
194 function getActionFromPage($sPage) { 194 function getActionFromPage($sPage) {
195 global $default; 195 global $default;
  196 + $default->log->debug("Sitemap::getActionFromPage: page=$sPage");
196 // for each section 197 // for each section
197 foreach ($this->siteMapArray as $section => $valArr) { 198 foreach ($this->siteMapArray as $section => $valArr) {
198 $default->log->debug("Sitemap::getActionFromPage section=$section"); 199 $default->log->debug("Sitemap::getActionFromPage section=$section");
@@ -201,7 +202,7 @@ class SiteMap { @@ -201,7 +202,7 @@ class SiteMap {
201 $default->log->debug("Sitemap::getActionFromPage grp=$requiredGroupName"); 202 $default->log->debug("Sitemap::getActionFromPage grp=$requiredGroupName");
202 // now loop through pages until we find the right one 203 // now loop through pages until we find the right one
203 foreach ($pageArr as $action => $page) { 204 foreach ($pageArr as $action => $page) {
204 - $default->log->debug("Sitemap::getActionFromPage action=$action, page=" . $page["page"]); 205 + $default->log->debug("Sitemap::getActionFromPage action=$action, reqPage=$sPage; page=" . $page["page"]);
205 if ($sPage == $page["page"]) { 206 if ($sPage == $page["page"]) {
206 $default->log->debug("Sitemap::getActionFromPage found action=$action for page=$sPage"); 207 $default->log->debug("Sitemap::getActionFromPage found action=$action for page=$sPage");
207 return $action; 208 return $action;