summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'shared/include')
-rw-r--r--shared/include/dbinit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/include/dbinit.php b/shared/include/dbinit.php
index 45b7eb7..84ed8f2 100644
--- a/shared/include/dbinit.php
+++ b/shared/include/dbinit.php
@@ -2,7 +2,7 @@
try {
$S['pdo']=new PDO('mysql:dbname='.$S['conf']['sqldb'].';host='.$S['conf']['sqlhost'], $S['conf']['sqluser'], $S['conf']['sqlpass'], array(PDO::ATTR_PERSISTENT => true));
} catch (Exception $e) {
- die(print_error('Database connection failure.', $e->getMessage()));
+ die('Database connection failure: '.$e->getMessage()."\n");
}
sql_row_obj::set_pdo_obj($S['pdo']);
?>