Members   Search      Help    Register    Login    Home
Home » Support Forums for PMBT 1.X » Bug Reports » Time of generating the page
Time of generating the page [message #2172] Tue, 26 August 2008 10:22
Revan is currently offline Revan  Czech Republic
Messages: 125
Registered: April 2007
Super-Seeder
I think I found little bug in the value of the time that the page is being generated...
I know it doesn't influence anything, but I thought I'd post it anyway...

So instead of: $startpagetime = microtime(); in header.php
there should be:
$start_time = microtime();
$start_time = array_sum (explode (' ', $start_time));

and in footer.php, instead of:
echo abs(round(microtime()-$startpagetime,2))
should be:
echo round(array_sum(explode(' ', microtime()))-$startpagetime,2)

Like I said not a big deal, but I thought I'd post it Smile
Previous Topic:External torrent file problem
Next Topic:can't upload !
Goto Forum:
  


Current Time: Wed Feb 08 05:24:22 GMT 2012

Total time taken to generate the page: 0.00676 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software