Enhance the perf page.
This commit is contained in:
parent
a6add0d8a9
commit
6a41819d0f
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2013 Laurent Destailleur <eldy@users.sourceforge.net>
|
/* Copyright (C) 2013-2019 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -70,6 +70,18 @@ else
|
|||||||
}
|
}
|
||||||
print '<br>';
|
print '<br>';
|
||||||
|
|
||||||
|
// Module debugbar
|
||||||
|
print '<br>';
|
||||||
|
print '<strong>'.$langs->trans("DebugBar").'</strong>: ';
|
||||||
|
$test=empty($conf->debugbar->enabled);
|
||||||
|
if ($test) print img_picto('', 'tick.png').' '.$langs->trans("NotInstalled");
|
||||||
|
else
|
||||||
|
{
|
||||||
|
print img_picto('', 'warning').' '.$langs->trans("DebugBarModuleActivated");
|
||||||
|
//print ' '.$langs->trans("MoreInformation").' <a href="'.DOL_URL_ROOT.'/admin/system/xdebug.php'.'">XDebug admin page</a>';
|
||||||
|
}
|
||||||
|
print '<br>';
|
||||||
|
|
||||||
// Applicative cache
|
// Applicative cache
|
||||||
print '<br>';
|
print '<br>';
|
||||||
print '<strong>'.$langs->trans("ApplicativeCache").'</strong>: ';
|
print '<strong>'.$langs->trans("ApplicativeCache").'</strong>: ';
|
||||||
|
|||||||
@ -1870,4 +1870,5 @@ GeneralOptions=General Options
|
|||||||
LogsLinesNumber=Number of lines to show on logs tab
|
LogsLinesNumber=Number of lines to show on logs tab
|
||||||
UseDebugBar=Use the debug bar
|
UseDebugBar=Use the debug bar
|
||||||
DEBUGBAR_LOGS_LINES_NUMBER=Number of last log lines to keep in console
|
DEBUGBAR_LOGS_LINES_NUMBER=Number of last log lines to keep in console
|
||||||
WarningValueHigherSlowsDramaticalyOutput=Warning, higher values slows dramaticaly output
|
WarningValueHigherSlowsDramaticalyOutput=Warning, higher values slows dramaticaly output
|
||||||
|
DebugBarModuleActivated=Module debugbar is activated and slows dramaticaly the interface
|
||||||
Loading…
Reference in New Issue
Block a user