PDA

View Full Version : $templatesused


Ninth Dimension
08-21-2002, 12:15 PM
What would I gain by setting the $templatesused var at the beginning of my hack? does it speed it up or something?

NTLDR
08-21-2002, 02:00 PM
For each template that you add to $templatesused that you eval in your script you SAVE one query. I strongly recomend you do this :D

Ninth Dimension
08-21-2002, 02:12 PM
OK, thank you for the info. I'm guessing that it needs to go before "require('./global.php');"?

Cheers.

NTLDR
08-21-2002, 02:16 PM
Yep, put it right before require('./global.php'); :)