From ced3006915b283e1c87096062003d27b67d09f68 Mon Sep 17 00:00:00 2001 From: jgen Date: Tue, 18 Feb 2014 21:25:08 -0500 Subject: [PATCH] At its finest. --- core/database.class.php | 2 -- tests/all_tests.php | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) 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