![]() |
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 ! |
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
|
thanks for the variable name :) that's what i was looking for
Quote:
|
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).
|
All times are GMT. The time now is 09:19 PM. |
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:
|