Ticket #2784: ticket_2784.diff
| File ticket_2784.diff, 0.6 kB (added by kgarrison, 6 months ago) |
|---|
-
db_connect.php
old new 62 62 // if connection failed show error 63 63 // don't worry about this for now, we get to it in the errors section 64 64 if(DB::isError($db)) { 65 die_freepbx($db->get DebugInfo());65 die_freepbx($db->getMessage()); 66 66 } 67 67 68 //** define an error handler that doesnt just print out sql queries (and thus possibly passwords) by default69 function fatal() {70 echo "There was a fatal error";71 };72 73 68 // Now send or delete warning wrt to default passwords: 74 69 // 75 70 $nt = notifications::create($db);
