![]() |
Which file of vB3 that run in every script?
Hello,
I'm coding a lil mod that have some code which have to be run before any script of vB3. Which file I have to insert the include line? config.php? global.php? init.php? Copy directly from my question @ vBulletin.com. Thanks... |
why not phpinclude_start template?
|
No, this mod have to be run as soon as possible when vBulletin start. The code is ready, waiting to be insert somewhere :D
Well, I mean as soon as possible, it can be include anywhere, but it won't do its work. I decided to put it at the start of init.php file, if you know any file that running sooner that it, please tell me, I'll update the mod. I'm releasing it, take a look at the mods section. |
well, just look at the call of init.php
init.php is called from global.php so global.php is of course running sooner than init.php. But as the call for init.php is the first thing global.php does, init.php is working as well, without a difference :) |
Thanks, I released the hack here, take a look and see if you can make it better :)
https://vborg.vbsupport.ru/showthread.php?t=63137 |
All times are GMT. The time now is 09:09 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|