The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Benefits from placing hook code in external files?
Is there any benefit from putting hook code in an external file?
I see some developers just put something like this in the Plugin Manager hook location: Code:
require(DIR . '/includes/some_hack/hooks/forumdisplay_complete.php'); I use xCache for caching PHP files, so I can see the benefit of those files being cached, however I see the overhead of adding another file to the page. I was wondering if there are any performance (or other) benefits to using this method as opposed to just putting the full code into the Plugin Manager. Or are there any performance drawbacks to this method? Thanks, James |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|