From 002098edcb366430376fceba6300106a2bb8aa74 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 11 Dec 2005 07:23:36 +0000 Subject: [PATCH] Only show the debug stack if ISSO->debug is enabled --- kernel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel.php b/kernel.php index e5812bf..11902da 100644 --- a/kernel.php +++ b/kernel.php @@ -403,7 +403,7 @@ class Shared_Object_Framework $output = "\n
\n"; $output .= "\n\n\t\n"; $output .= "\n\n\t\n"; - $output .= ($stack ? "\n\n\t\n" : ''); + $output .= (($stack AND $GLOBALS['isso:null-framework']->debug) ? "\n\n\t\n" : ''); $output .= "\n
$prefix: $title
$message
Debug Stack:
" . print_r($backtrace, true) . "
Debug Stack:
" . print_r($backtrace, true) . "
\n
\n"; if ($return) -- 2.43.5