The Arcive of vBulletin Modifications Site. |
|
$templatesused Details »»
|
|||||||||||||||||||||||||
What would I gain by setting the $templatesused var at the beginning of my hack? does it speed it up or something?
Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
For each template that you add to $templatesused that you eval in your script you SAVE one query. I strongly recomend you do this
|
|
#3
|
||||
|
||||
|
OK, thank you for the info. I'm guessing that it needs to go before "require('./global.php');"?
Cheers. |
|
#4
|
||||
|
||||
|
Yep, put it right before require('./global.php');
|
![]() |
|
|