Quote:
Originally posted by nakkid
This upgrade will fix the negative values some users get when loading a page.
CREDITS:
JDD
pagestarttime addon in [high]global.php[/high]
forum/global.php (2 changes)
1. Find the code:
PHP Code:
if (isset($showqueries)) {
$pagestarttime=microtime();
}
Replace it with:
PHP Code:
if (isset($showqueries)) {
$pagestarttime=microtime();
} else {
$pagestarttime=microtime();
}
|
Can't that just be replaced with
PHP Code:
$pagestarttime=microtime();
Either case of the if statement will yield that code... so there really is no need for the if statement. Right?