diff --git a/src/bb-load.php b/src/bb-load.php index 4eea3023d..e410ccddb 100644 --- a/src/bb-load.php +++ b/src/bb-load.php @@ -62,13 +62,13 @@ function handler_exception(Exception $e) print sprintf('

%s

', $e->getMessage()); print sprintf('

Look for detailed error explanation

', urlencode($e->getMessage())); - //if(defined('BB_DEBUG') && BB_DEBUG) { + if(defined('BB_DEBUG') && BB_DEBUG) { print sprintf('%s', 'Set BB_DEBUG to FALSE, to hide the message below'); print sprintf('

Class: "%s"

', get_class($e)); print sprintf('

File: "%s"

', $e->getFile()); print sprintf('

Line: "%s"

', $e->getLine()); print sprintf('Trace:
%s
', $e->getTraceAsString()); - //} + } } set_exception_handler("handler_exception");