<?php class DBException extends Exception { private $msgLabel; public function __construct($dbmessage,$msgLabel,$code) { parent::__construct($dbmessage,$code); $this->msgLabel=$msgLabel; } public function msgLabel() { return $this->msgLabel; } } require_once("db.inc.".$Config->DBType.".php"); $DBConn=db_init_connection($Config); $LogDBConn=db_init_log_connection($Config); ?>