0,0 → 1,27 |
<?php |
#################################################### |
# AstWeb - Asterisk PBX Dynamic config environment # |
# # |
# Written by: Jamie Carl # |
# jazz@funkynerd.com # |
# # |
# Copyright (C) 2006 Achieve Corp # |
# # |
# Licence: This software is licenced under the # |
# GNU/GPL. Please see licence.txt for # |
# more information. # |
#################################################### |
|
if ( !defined('IN_ASTWEB') ) { |
die("Hacking attempt"); |
} |
|
switch($db_type) { |
case 'PGSQL': |
include($includes.'/db/postgresql.php'); |
break; |
} |
|
$db = new db_obj($db_host, $db_user, $db_password, $db_database); |
|
?> |