X-Git-Url: https://git.llucax.com/mecon/samurai.git/blobdiff_plain/d0ae155a8be2168110755cce58865068b34bfe91..fbf81957a8f5508c7158ce1dfe103b33aec84edc:/lib/SAMURAI/DB.php?ds=sidebyside diff --git a/lib/SAMURAI/DB.php b/lib/SAMURAI/DB.php index 3fac989..03f40b5 100644 --- a/lib/SAMURAI/DB.php +++ b/lib/SAMURAI/DB.php @@ -49,11 +49,11 @@ 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; } // -X2C } // -X2C Class :SAMURAI_DB -?> +?> \ No newline at end of file