- New: Can enable tuning info from option MAIN_SHOW_TUNING_INFO.

This commit is contained in:
Laurent Destailleur 2013-06-07 12:43:41 +02:00
parent 21c6d42d82
commit 35fbc9b066
2 changed files with 2 additions and 1 deletions

View File

@ -21,6 +21,7 @@ For translators:
For developers:
- New: DolGraph can build graph with three lines.
- New: Can enable tuning info from option MAIN_SHOW_TUNING_INFO.
***** ChangeLog for 3.4 compared to 3.3.2 *****

View File

@ -4322,7 +4322,7 @@ function printCommonFooter($zone='private')
}
// End of tuning
if (! empty($_SERVER['DOL_TUNING']))
if (! empty($_SERVER['DOL_TUNING']) || ! empty($conf->global->MAIN_SHOW_TUNING_INFO))
{
$micro_end_time=dol_microtime_float(true);
print "\n".'<script type="text/javascript">'."\n";