Hey,
in former addons we used
global $db_host,$db_username,$db_password,$db_name;
mysql_connect($db_host,$db_username,$db_password);
which does not work anymore? What do we use now? Or is that still working?
Edit:
To share the answer:
replace the global part with
require_once($ROOTDIR .'/configuration.php');
in former addons we used
global $db_host,$db_username,$db_password,$db_name;
mysql_connect($db_host,$db_username,$db_password);
which does not work anymore? What do we use now? Or is that still working?
Edit:
To share the answer:
replace the global part with
Quote:
require_once($ROOTDIR .'/configuration.php');