mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
Fix for when menus fail. Use DebugMode = 'Included Files' (?[debug=inc+]) to switch off menu buffering, allowing errors to be seen.
This commit is contained in:
parent
fd96563117
commit
e143292345
@ -200,10 +200,15 @@ class e_menu
|
||||
{
|
||||
global $sql, $ns, $tp, $sc_style;
|
||||
global $error_handler;
|
||||
|
||||
$e107 = e107::getInstance();
|
||||
|
||||
$tmp = explode(':', $parm);
|
||||
$buffer_output = true; // Default - return all output.
|
||||
|
||||
|
||||
$buffer_output = (E107_DBG_INCLUDES) ? false : true; // Turn off when trouble-shooting includes. Default - return all output.
|
||||
|
||||
|
||||
if(isset($tmp[1])&&$tmp[1]=='echo')
|
||||
{
|
||||
$buffer_output = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user