From 8b0fffc2cbc2b6ce08b15b123ae0bf779a9e8bde Mon Sep 17 00:00:00 2001
From: svncommit
Date: Wed, 27 Dec 2006 10:13:10 +0000
Subject: Specify database error in error.inc (closes #1484189).
---
program/steps/error.inc | 9 +++++++++
1 file changed, 9 insertions(+)
(limited to 'program/steps')
diff --git a/program/steps/error.inc b/program/steps/error.inc
index 8ba39d3b7..2eb50eb7b 100644
--- a/program/steps/error.inc
+++ b/program/steps/error.inc
@@ -63,6 +63,15 @@ http://$request_url
EOF;
}
+// database connection error
+else if ($ERROR_CODE==0x01f4)
+ {
+ $__error_title = "DATABASE ERROR: CONNECTION FAILED!";
+ $__error_text = <<
+Please contact your server-administrator.
+EOF;
+ }
// system error
else
--
cgit v1.2.3