summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-09-07 15:16:51 +0100
committerAndrew Dolgov <[email protected]>2005-09-07 15:16:51 +0100
commita4b5d75cf642d9dbbc8c15889411cc2e75e1de71 (patch)
treecacfaed736c53c79362b00f3aef5e4ceedd60072 /backend.php
parentcaa486f838635bb5b7379dd112ddd00ae11cc481 (diff)
report db error on connect
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/backend.php b/backend.php
index 556c94697..957347967 100644
--- a/backend.php
+++ b/backend.php
@@ -6,17 +6,8 @@
require_once "functions.php";
require_once "magpierss/rss_fetch.inc";
- error_reporting(0);
-
$link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
- error_reporting (E_ERROR | E_WARNING | E_PARSE);
-
- if (!$link) {
- print "Could not connect to database. Please check local configuration.";
- return;
- }
-
if (DB_TYPE == "pgsql") {
pg_query("set client_encoding = 'utf-8'");
}