diff options
author | nickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-10-16 22:53:22 +0000 |
---|---|---|
committer | nickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-10-16 22:53:22 +0000 |
commit | a61b62e592380fa3be7e4ff812f3e514afabd321 (patch) | |
tree | 225b02b83766778bfbadb0db37b715a79d9c05b2 /views/opendd/messages | |
parent | 694781d190fba09437a37983f077d0381a56050b (diff) | |
download | elgg-a61b62e592380fa3be7e4ff812f3e514afabd321.tar.gz elgg-a61b62e592380fa3be7e4ff812f3e514afabd321.tar.bz2 |
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
Diffstat (limited to 'views/opendd/messages')
-rw-r--r-- | views/opendd/messages/exceptions/exception.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/opendd/messages/exceptions/exception.php b/views/opendd/messages/exceptions/exception.php index c020c0e04..0c932f4e5 100644 --- a/views/opendd/messages/exceptions/exception.php +++ b/views/opendd/messages/exceptions/exception.php @@ -15,7 +15,7 @@ global $CONFIG; ?> <!-- <?php echo get_class($vars['object']); ?>: <?php echo autop($vars['object']->getMessage()); ?> -<?php if ($CONFIG->debug) { ?> +<?php if (isset($CONFIG->debug)) { ?> <?php echo print_r($vars['object'], true); ?> |