1
hoerts
loadtime
  • 2006/6/21 4:07

  • hoerts

  • Just popping in

  • Posts: 6

  • Since: 2005/9/2 8


Is it possible to get the sites loadtimes shown in the footer?

If I have to change in the code, then please tell me exactly which file an linie I have to change in.
And don't forget to tell me the code.

Thanks in advange.

2
Bassman
Re: loadtime
  • 2006/6/21 4:16

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


Not sure if it's what you want, but if you open up footer.php and add the following directly before the closing ?> tag:

Quote:

printf ("<div align=\"center\"><b>Page was generated in %f seconds!</b></div>", $GLOBALS['xoopsLogger']->dumpTime());


you will get "Page was generated in xxxxx seconds! at the very bottom of your page.

Check my site to see it in action.

3
brash
Re: loadtime
  • 2006/6/21 5:12

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Also, have a look at this FAQ;

How do I show page load time and DB queries?
IT Headquarters
Innovative IT Solutions

4
hoerts
Re: loadtime
  • 2006/6/21 8:52

  • hoerts

  • Just popping in

  • Posts: 6

  • Since: 2005/9/2 8


Thanks

Exactly what I was looking for

Login

Who's Online

165 user(s) are online (120 user(s) are browsing Support Forums)


Members: 0


Guests: 165


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits