Fix bad side effect of debugbar with android
This commit is contained in:
parent
cb62844472
commit
78acf07e4c
@ -253,7 +253,7 @@ require_once 'master.inc.php';
|
||||
register_shutdown_function('dol_shutdown');
|
||||
|
||||
// Load debugbar
|
||||
if (! empty($conf->debugbar->enabled))
|
||||
if (!empty($conf->debugbar->enabled) && ! GETPOST('dol_use_jmobile') && empty($_SESSION['dol_use_jmobile']))
|
||||
{
|
||||
global $debugbar;
|
||||
include_once DOL_DOCUMENT_ROOT.'/debugbar/class/DebugBar.php';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user