Subversion Repositories general

Compare Revisions

Ignore whitespace Rev 1387 → Rev 1388

/asterisk-stats/trunk/includes/db.php
12,12 → 12,13
# more information. #
####################################################
 
switch($db_type) {
switch($g_config['db_type']) {
case 'PGSQL':
include('includes/db/postgresql.php');
break;
}
 
$db = new db_obj($db_host, $db_user, $db_password, $db_database);
$db = new db_obj($g_config['db_host'], $g_config['db_user'],
$g_config['db_password'], $g_config['db_database']);
 
?>