Index: branches/unlabeled/unlabeled-1.2.48/kernel/include/db.class.php =================================================================== diff -u -r1570 -r5653 --- branches/unlabeled/unlabeled-1.2.48/kernel/include/db.class.php (.../db.class.php) (revision 1570) +++ branches/unlabeled/unlabeled-1.2.48/kernel/include/db.class.php (.../db.class.php) (revision 5653) @@ -158,7 +158,7 @@ function Connect($host,$user,$pass,$db) { $func = $this->getMetaFunction('connect'); - $this->connectionID = $func($host,$user,$pass) or die('Can\'t connect to db'); + $this->connectionID = $func($host,$user,$pass) or trigger_error("Can't connect to db", E_USER_ERROR); if($this->connectionID) { $this->setDB($db);