Index: trunk/kernel/include/db.class.php =================================================================== diff -u -N -r1566 -r6093 --- trunk/kernel/include/db.class.php (.../db.class.php) (revision 1566) +++ trunk/kernel/include/db.class.php (.../db.class.php) (revision 6093) @@ -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);