diff --git a/library/includes/page_footer.php b/library/includes/page_footer.php index b32b9e529..4a9c13145 100644 --- a/library/includes/page_footer.php +++ b/library/includes/page_footer.php @@ -43,7 +43,7 @@ if ($show_dbg_info) { $sql_t = $DBS->sql_timetotal; $sql_time_txt = ($sql_t) ? sprintf('%.3f ' . $lang['SEC'] . ' (%d%%) · ', $sql_t, round($sql_t * 100 / $gen_time)) : ''; $num_q = $DBS->num_queries; - $stat .= "  |  MySQL: {$sql_time_txt}{$num_q} " . $lang['QUERIES']; + $stat .= "  |  {$DBS->get_db_obj()->engine}: {$sql_time_txt}{$num_q} " . $lang['QUERIES']; } $stat .= "  |  $gzip_text"; diff --git a/src/Legacy/SqlDb.php b/src/Legacy/SqlDb.php index 3dd0349b1..9696535b6 100644 --- a/src/Legacy/SqlDb.php +++ b/src/Legacy/SqlDb.php @@ -10,6 +10,7 @@ namespace TorrentPier\Legacy; use mysqli_result; + use TorrentPier\Dev; /**