--- a/punbb/include/enano_dbal.php Thu Jul 12 15:00:35 2007 -0400
+++ b/punbb/include/enano_dbal.php Sun Sep 02 10:56:36 2007 -0400
@@ -61,7 +61,7 @@
{
global $db;
if (defined('PUN_SHOW_QUERIES'))
- $q_start = get_microtime();
+ $q_start = pun_microtime();
if ($unbuffered)
$this->query_result = $db->sql_unbuffered_query($sql);
@@ -71,7 +71,7 @@
if ($this->query_result)
{
if (defined('PUN_SHOW_QUERIES'))
- $this->saved_queries[] = array($sql, sprintf('%.5f', get_microtime() - $q_start));
+ $this->saved_queries[] = array($sql, sprintf('%.5f', pun_microtime() - $q_start));
++$this->num_queries;