The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
get the ids from config.php
Hello
I'm creating a plugin that should connect to an external database (not the main one). I have added the connexion ids in includes/config.php : $config['Other_Database']['servername'], $config['Other_Database']['password'], and so on. How can i get this values in the plugin php code ? Thank you very much ! |
#2
|
||||
|
||||
Probably want to use $vbulletin->config['Other_Database'']['servername'] but why not look to see how vb does it. Take a look into init.php
|
#3
|
|||
|
|||
thanks for the variable name that's what i was looking for
Quote:
|
#4
|
||||
|
||||
I was simply saying you should look in the vbulletin files to see how they did it to get an idea of how you should do it (that is where I got the format for the variable name).
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|