1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 19:30:25 +02:00

Improved handling of CRITICAL ERROR messages.

This commit is contained in:
Cameron
2015-05-16 19:06:13 -07:00
parent a9dfc78111
commit e1c11ad019
2 changed files with 128 additions and 55 deletions

View File

@@ -1835,9 +1835,9 @@ function session_set($name, $value, $expire='', $path = e_HTTP, $domain = '', $s
//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------//
function message_handler($mode, $message, $line = 0, $file = '')
{
if(defined('e_DEBUG') && e_DEBUG === true)
if(!defined('e_HANDLER'))
{
echo $message;
echo $message;
return;
}