diff options
-rw-r--r-- | program/include/main.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/program/include/main.inc b/program/include/main.inc index 409d6eed2..6a8179127 100644 --- a/program/include/main.inc +++ b/program/include/main.inc @@ -1630,6 +1630,7 @@ class rcube_base_replacer } } + /** * Throw system error and show error page * @@ -1642,6 +1643,8 @@ class rcube_base_replacer * @param boolean True to log the error * @param boolean Terminate script execution */ +// may be defined in Installer +if (!function_exists('raise_error')) { function raise_error($arg=array(), $log=false, $terminate=false) { global $__page_content, $CONFIG, $OUTPUT, $ERROR_CODE, $ERROR_MESSAGE; @@ -1658,6 +1661,7 @@ function raise_error($arg=array(), $log=false, $terminate=false) exit; } } +} /** |