1 2 3 4 5 6 7 8 9 10
<?PHP require_once('config/config.inc.php'); require_once('adodb/adodb.inc.php'); $GLOBALS['db'] = &ADONewConnection($GLOBALS['config']['driver']); $GLOBALS['db']->PConnect($GLOBALS['config']['server'], $GLOBALS['config']['user'], $GLOBALS['config']['password'], $GLOBALS['config']['db']); ?>