diff --git a/core/database.class.php b/core/database.class.php index 744a4063..f9072139 100644 --- a/core/database.class.php +++ b/core/database.class.php @@ -306,8 +306,6 @@ class Database { private function connect_db() { # FIXME: detect ADODB URI, automatically translate PDO DSN - die("DSN : " + DATABASE_DSN); - /* * Why does the abstraction layer act differently depending on the * back-end? Because PHP is deliberately retarded. diff --git a/tests/all_tests.php b/tests/all_tests.php index 4c666e06..d492c23a 100644 --- a/tests/all_tests.php +++ b/tests/all_tests.php @@ -49,7 +49,7 @@ $config = new DatabaseConfig($database); } catch(Exception $e) { - die(var_dump($e)); + die(DATABASE_DSN+ "\n\n" + var_dump($e)); } // load the theme parts