From 3ea296e151a18e9c30e656ca9767a34b74c527a3 Mon Sep 17 00:00:00 2001 From: alec Date: Wed, 26 May 2010 08:46:49 +0000 Subject: - Fix raise_error() in Installer (#1486756) git-svn-id: https://svn.roundcube.net/trunk@3666 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/include/main.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roundcubemail/program/include/main.inc b/roundcubemail/program/include/main.inc index 409d6eed2..6a8179127 100644 --- a/roundcubemail/program/include/main.inc +++ b/roundcubemail/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; } } +} /** -- cgit v1.2.3