Merge branch 'stable'

This commit is contained in:
following
2013-03-24 15:55:24 +01:00
3 changed files with 11 additions and 4 deletions

View File

@@ -326,7 +326,10 @@
$cSqlExecution->stop();
if ($cSqlExecution->diff() > $opt['db']['warn']['time'])
sql_warn('execution took ' . $cSqlExecution->diff() . ' seconds');
{
$ua = isset($_SERVER['HTTP_USER_AGENT']) ? "\r\n" . $_SERVER['HTTP_USER_AGENT'] : "";
sql_warn("execution took " . $cSqlExecution->diff() . " seconds" . $ua);
}
}
}