Index: branches/unlabeled/unlabeled-1.13.2/core/kernel/db/db_connection.php =================================================================== diff -u -r5215 -r5653 --- branches/unlabeled/unlabeled-1.13.2/core/kernel/db/db_connection.php (.../db_connection.php) (revision 5215) +++ branches/unlabeled/unlabeled-1.13.2/core/kernel/db/db_connection.php (.../db_connection.php) (revision 5653) @@ -176,7 +176,7 @@ function Connect($host, $user, $pass, $db, $force_new = false) { $func = $this->getMetaFunction('connect'); - $this->connectionID = $func($host, $user, $pass, $force_new) or die('Can\'t connect to db'); + $this->connectionID = $func($host, $user, $pass, $force_new) or trigger_error("Can't connect to db", E_USER_ERROR); if ($this->connectionID) { $this->setDB($db); $this->showError();