| | |
| | | | program/steps/error.inc | |
| | | | | |
| | | | This file is part of the RoundCube Webmail client | |
| | | | Copyright (C) 2005, RoundCube Dev. - Switzerland | |
| | | | Copyright (C) 2005-2007, RoundCube Dev. - Switzerland | |
| | | | Licensed under the GNU GPL | |
| | | | | |
| | | | PURPOSE: | |
| | |
| | | EOF; |
| | | } |
| | | |
| | | // database connection error |
| | | else if ($ERROR_CODE==603) |
| | | { |
| | | $__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 |
| | |
| | | { |
| | | $OUTPUT->scripts = array(); |
| | | $OUTPUT->script_files = array(); |
| | | parse_template('error'); |
| | | $OUTPUT->send('error'); |
| | | } |
| | | |
| | | |
| | |
| | | </html> |
| | | EOF; |
| | | |
| | | ?> |
| | | ?> |