Commit 54f40fd6 authored by Mike Sheldon's avatar Mike Sheldon

Don't display adodb exceptions when failing to connect

parent 2a3aea51
......@@ -31,8 +31,7 @@ require_once('adodb/');
try {
$adodb =& NewADOConnection($connect_string);
} catch (Exception $e) {
die("Unable to connect to database");
// To keep functionality with existing code
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment