summaryrefslogtreecommitdiff
path: root/program/steps/error.inc
diff options
context:
space:
mode:
authorsvncommit <devs@roundcube.net>2006-12-27 10:13:10 +0000
committersvncommit <devs@roundcube.net>2006-12-27 10:13:10 +0000
commit8b0fffc2cbc2b6ce08b15b123ae0bf779a9e8bde (patch)
tree121009d8d91b8a1dc11d1a6750b86c5e5fa3e1c9 /program/steps/error.inc
parentef6065e72bf9334098ad2ee5fb344f4c20bdd995 (diff)
Specify database error in error.inc (closes #1484189).
Diffstat (limited to 'program/steps/error.inc')
-rw-r--r--program/steps/error.inc9
1 files changed, 9 insertions, 0 deletions
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</p>
EOF;
}
+// database connection error
+else if ($ERROR_CODE==0x01f4)
+ {
+ $__error_title = "DATABASE ERROR: CONNECTION FAILED!";
+ $__error_text = <<<EOF
+Unable to connect to the database!<br />
+Please contact your server-administrator.
+EOF;
+ }
// system error
else