]> git.llucax.com Git - mecon/samurai.git/commitdiff
Se reemplazan die() por trigger_error().
authorLeandro Lucarella <llucax@gmail.com>
Thu, 5 Feb 2004 18:22:29 +0000 (18:22 +0000)
committerLeandro Lucarella <llucax@gmail.com>
Thu, 5 Feb 2004 18:22:29 +0000 (18:22 +0000)
lib/SAMURAI/DB.php

index 006ce0958f1fd4b275165bedde1354251f65c91e..03f40b52f46afafbb8dafb02f325b213eae74f61 100644 (file)
@@ -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;
     }