mirror of
https://github.com/e107inc/e107.git
synced 2025-08-12 09:34:54 +02:00
Stop stepping on E107_DBG_* constants in tests
\Helper\Unit::_beforeSuite() now sets E107_DEBUG_LEVEL so that debug_handler.php sets the debug mode. Also fixed E_NOTICE if E107_DEBUG_LEVEL is set beforehand
This commit is contained in:
@@ -60,7 +60,7 @@ if (strstr(e_MENU, "debug") || isset($_COOKIE['e107_debug_level']))
|
||||
define('E107_DEBUG_LEVEL', $e107_debug_level);
|
||||
}
|
||||
}
|
||||
else
|
||||
elseif (!defined('E107_DEBUG_LEVEL'))
|
||||
{
|
||||
define('E107_DEBUG_LEVEL', 0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user