Getting the names of templates and phrase of my DB
I need know which is the file with the connection to the database, actually opened by vBulletin
Then need something like this
include("conectiontodb.php");
//here the query to get the name templates and phrases, after put into arrays
include("./global.php");
I just need the file name with the connection, I tried with includes/init.php but are defined the phrasegroups, the which is working the query but not the templates and phrases because them must be defined before of many things
I would like know your ideas, How can I include the conection of vBulletin without include all the vbulletin system, or is better open a new connection? but this could be an increment of resources usage very significant or no?
Best Regards
|