function DBx($host='localhost', $user, $password) { $this->Host = $host; $this->User = $user; $this->Password = $password; $this->Database = 'mysql'; parent::DB_Sql(); }
function DB_Seminar($query = false) { $this->Host = $GLOBALS['DB_STUDIP_HOST']; $this->Database = $GLOBALS['DB_STUDIP_DATABASE']; $this->User = $GLOBALS['DB_STUDIP_USER']; $this->Password = $GLOBALS['DB_STUDIP_PASSWORD']; parent::DB_Sql($query); }