From 84d1145ee294378b6f1a6f2a6a66a8158613c1f5 Mon Sep 17 00:00:00 2001 From: Andre Lorbach Date: Wed, 19 Aug 2009 09:35:44 +0200 Subject: [PATCH] Added template variable to renable showing debug messages --- src/include/functions_common.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/include/functions_common.php b/src/include/functions_common.php index cd99601..c48ba4e 100644 --- a/src/include/functions_common.php +++ b/src/include/functions_common.php @@ -1200,6 +1200,9 @@ function OutputDebugMessage($szDbg, $szDbgLevel = DEBUG_INFO) // Check if we should print the Error! if ( GetConfigSetting("MiscShowDebugMsg", 0, CFGLEVEL_USER) == 1 ) { + // Also enable the template helper variable here! + $content['SHOWDEBUGMSG'] = true; + $content['DEBUGMSG'][] = array( "DBGLEVEL" => $szDbgLevel, "DBGLEVELTXT" => GetDebugModeString($szDbgLevel),