--- classes.inc.orig 2010-02-01 16:34:03 +0300 +++ classes.inc 2010-02-10 08:48:26 +0300 @@ -79,7 +79,7 @@ if (DB::isError($this->link)) die($this->link->getMessage()); - $this->driver = $this->dsn[phptype]; + $this->driver = $this->dsn['phptype']; register_shutdown_function(array(&$this,'close')); $this->dbs_name = $this->dsn['database']; }