Quote:
Originally Posted by Sonikku
I'm using 3.0.0, and I had to do something else, and still worked.
You see, I didn't find:
PHP Code:
if (DB_QUERIES)
{
But I did find:
PHP Code:
$pageendtime = microtime();
|
Strange indeed.
I've just checked the default file from Jelsoft for vBulletin 3.0.3 and the code as I've pasted it is on line 1852. So it is there when shipped.
You must've removed it at some point, maybe for another hack?
Well... no worries. If it didn't have the if (DB_QUERIES) block then you would be best to place the hack code BEFORE the $pageendtime variable. Otherwise the stat you get telling you how long the page took to load will not reflect the inclusion of the hack, as the $pageendtime is literally the timestamp of the page as it finishes being generated.