At its finest.
This commit is contained in:
parent
892b323c4d
commit
ced3006915
@ -306,8 +306,6 @@ class Database {
|
|||||||
private function connect_db() {
|
private function connect_db() {
|
||||||
# FIXME: detect ADODB URI, automatically translate PDO DSN
|
# FIXME: detect ADODB URI, automatically translate PDO DSN
|
||||||
|
|
||||||
die("DSN : " + DATABASE_DSN);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Why does the abstraction layer act differently depending on the
|
* Why does the abstraction layer act differently depending on the
|
||||||
* back-end? Because PHP is deliberately retarded.
|
* back-end? Because PHP is deliberately retarded.
|
||||||
|
@ -49,7 +49,7 @@ $config = new DatabaseConfig($database);
|
|||||||
}
|
}
|
||||||
catch(Exception $e)
|
catch(Exception $e)
|
||||||
{
|
{
|
||||||
die(var_dump($e));
|
die(DATABASE_DSN+ "\n\n" + var_dump($e));
|
||||||
}
|
}
|
||||||
|
|
||||||
// load the theme parts
|
// load the theme parts
|
||||||
|
Loading…
x
Reference in New Issue
Block a user