The Arcive of vBulletin Modifications Site. |
|
How to include a file? Details »»
|
|||||||||||||||||||||||||
I have a php file that I want as an include. can I just put in something like
PHP Code:
If so, which file do I put it in so no matter where you are on the forum, it's called? Im guessing global.php or functions.php... would that work? Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Put it in global.php near the top (the one in the forum directory, not admin). But bear in mind that means that every page on your forum will have the additions of the number of queries of the included php file.
|
|
#3
|
||||
|
||||
|
great, thanks
|
![]() |
|
|