mirror of
https://github.com/e107inc/e107.git
synced 2025-08-07 23:26:41 +02:00
#4152 - Quickfix for fatal error after clean-up
Introduced after clean-up in commit 834ea354e4
This commit is contained in:
@@ -366,11 +366,12 @@ $tp = e107::getParser(); //TODO - find & replace $tp, $e107->tp
|
|||||||
//
|
//
|
||||||
require_once(e_HANDLER.'debug_handler.php');
|
require_once(e_HANDLER.'debug_handler.php');
|
||||||
e107_debug::init(); // defines E107_DEBUG_LEVEL
|
e107_debug::init(); // defines E107_DEBUG_LEVEL
|
||||||
|
$dbg = e107::getDebug();
|
||||||
|
|
||||||
if(E107_DEBUG_LEVEL)
|
if(E107_DEBUG_LEVEL)
|
||||||
{
|
{
|
||||||
// $e107_debug = true; // BC
|
// $e107_debug = true; // BC
|
||||||
$dbg = e107::getDebug();
|
//$dbg = e107::getDebug();
|
||||||
|
|
||||||
/** @deprecated $db_debug */
|
/** @deprecated $db_debug */
|
||||||
$db_debug = $dbg;
|
$db_debug = $dbg;
|
||||||
|
Reference in New Issue
Block a user