The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hiya. I'm working on a project and recently wondered if it was possible to cut some of the bits of global.php and what it includes from it. Has anyone tried this by removing parts of it? I've added to it, but I haven't attempted to remove complete sections of it.
~And I mean making a copy of global.php like global_lite.php and only including things such as user login, and perhaps a few of the other neccesary files. |
#2
|
||||
|
||||
![]()
you have several ways to remove some steps
either just include init.php which does the DB initialisation and such, or if you just don't want the location parts, add a PHP Code:
|
#3
|
|||
|
|||
![]() Quote:
|
#4
|
||||
|
||||
![]()
LOCATION_BYPASS means that the session table will not be updated with the current page, so the page will not appear in who's online.
|
#5
|
|||
|
|||
![]()
Ah, well I s'pose that's fine to keep. :P
Thanks guys. |
#6
|
||||
|
||||
![]()
you're welcome
![]() and to answer your question: the config file and the db class are included, other files normally not, but can be included (if the options array is corrupted for example) |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|