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 193 */
194 194 function getActionFromPage($sPage) {
195 195 global $default;
  196 + $default->log->debug("Sitemap::getActionFromPage: page=$sPage");
196 197 // for each section
197 198 foreach ($this->siteMapArray as $section => $valArr) {
198 199 $default->log->debug("Sitemap::getActionFromPage section=$section");
... ... @@ -201,7 +202,7 @@ class SiteMap {
201 202 $default->log->debug("Sitemap::getActionFromPage grp=$requiredGroupName");
202 203 // now loop through pages until we find the right one
203 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 206 if ($sPage == $page["page"]) {
206 207 $default->log->debug("Sitemap::getActionFromPage found action=$action for page=$sPage");
207 208 return $action;
... ...