From 547067710b8d12d2e72d9bf401da3513ff69e89d Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Thu, 5 Feb 2004 18:22:29 +0000 Subject: [PATCH] Se reemplazan die() por trigger_error(). --- lib/SAMURAI/DB.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/SAMURAI/DB.php b/lib/SAMURAI/DB.php index 006ce09..03f40b5 100644 --- a/lib/SAMURAI/DB.php +++ b/lib/SAMURAI/DB.php @@ -49,7 +49,7 @@ class SAMURAI_DB extends DB { $conf = parse_ini_file(dirname(__FILE__) . '/DB/consultas.ini', true); $db = DB::connect($conf['dsn'],$conf['opciones']); if (DB::isError($db)) { - die ($db->getMessage()); + trigger_error($db->getMessage(), E_USER_ERROR); } return $db; } -- 2.43.0