Include php file before database connection is made, vB3.5.4
I need to include a php file in all my vBulletin files before any database connection is made, in order to prevent ddos'ing of my site which results in all the db connections being busy. Where would be a good place to include a php file without disturbing the rest of vBulletin? global.php?
The included file will mainly be creating files on the server, and if it detects abuse, will send out a error 403 page.