mirror of
https://github.com/e107inc/e107.git
synced 2025-08-20 05:11:42 +02:00
Removed old deprecated global $e107_debug. Cleaned up debug_handler.php (e107_debug class)
This commit is contained in:
@@ -303,8 +303,7 @@ if (!empty($pref['e_footer_list']) && is_array($pref['e_footer_list']))
|
||||
|
||||
if(is_readable($fname))
|
||||
{
|
||||
|
||||
$ret = (!empty($e107_debug) || isset($_E107['debug'])) ? include_once($fname) : @include_once($fname);
|
||||
$ret = (deftrue('e_DEBUG') || isset($_E107['debug'])) ? include_once($fname) : @include_once($fname);
|
||||
|
||||
}
|
||||
}
|
||||
@@ -399,8 +398,7 @@ if (!empty($pref['e_output_list']) && is_array($pref['e_output_list']))
|
||||
|
||||
if(is_readable($fname))
|
||||
{
|
||||
|
||||
$ret = (!empty($e107_debug) || isset($_E107['debug'])) ? include_once($fname) : @include_once($fname);
|
||||
$ret = (deftrue('e_DEBUG') || isset($_E107['debug'])) ? include_once($fname) : @include_once($fname);
|
||||
}
|
||||
}
|
||||
unset($ret);
|
||||
|
@@ -231,7 +231,7 @@ if (is_array($pref['e_meta_list']))
|
||||
|
||||
if(is_readable($fname))
|
||||
{
|
||||
$ret = (!empty($e107_debug) || isset($_E107['debug'])) ? include_once($fname) : @include_once($fname);
|
||||
$ret = (deftrue('e_DEBUG') || isset($_E107['debug'])) ? include_once($fname) : @include_once($fname);
|
||||
}
|
||||
}
|
||||
// content will be added later
|
||||
|
Reference in New Issue
Block a user