mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update page_footer.php
This commit is contained in:
parent
4214b5cfad
commit
8ec6ed6abb
@ -38,7 +38,7 @@ if ($show_dbg_info)
|
||||
if (!empty($DBS))
|
||||
{
|
||||
$sql_t = $DBS->sql_timetotal;
|
||||
$sql_time_txt = ($sql_t && SQL_CALC_QUERY_TIME) ? sprintf('%.3f '.$lang['SEC'].' (%d%%) · ', $sql_t, round($sql_t*100/$gen_time)) : '';
|
||||
$sql_time_txt = ($sql_t && SQL_CALC_QUERY_TIME) ? sprintf('%.4f '.$lang['SEC'].' (%d%%) · ', $sql_t, round($sql_t*100/$gen_time)) : '';
|
||||
$num_q = $DBS->num_queries;
|
||||
$stat .= " | {$DBS->get_db_obj()->engine}: {$sql_time_txt}{$num_q} " . $lang['QUERIES'];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user