From a61b62e592380fa3be7e4ff812f3e514afabd321 Mon Sep 17 00:00:00 2001 From: nickw Date: Fri, 16 Oct 2009 22:53:22 +0000 Subject: Rewriting core debug messages to be more informative. Introducing the concept of levels for Elgg debugging: notices, warnings and errors are displayed when the appropriate debugging level is enabled. An additional level of "debug" exists to differentiate from errors. git-svn-id: http://code.elgg.org/elgg/trunk@3560 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/messages/exceptions/exception.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/default/messages') diff --git a/views/default/messages/exceptions/exception.php b/views/default/messages/exceptions/exception.php index c93883cbc..65ec7cdbf 100644 --- a/views/default/messages/exceptions/exception.php +++ b/views/default/messages/exceptions/exception.php @@ -24,7 +24,7 @@ $body = <<< END

END; -if ($CONFIG->debug) { +if (isset($CONFIG->debug)) { $details = elgg_view('output/longtext', array('value' => htmlentities(print_r($vars['object'], true), ENT_QUOTES, 'UTF-8'))); $body .= <<< END
-- cgit v1.2.3