summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-05-26 08:46:49 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-05-26 08:46:49 +0000
commit3ea296e151a18e9c30e656ca9767a34b74c527a3 (patch)
tree4aff08b68750a69d59bc97583c6d2d9e2f24bd8b /roundcubemail/program
parent100def3febac78d5f05affc1c50a726d17fbdbcd (diff)
- Fix raise_error() in Installer (#1486756)
git-svn-id: https://svn.roundcube.net/trunk@3666 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/include/main.inc4
1 files changed, 4 insertions, 0 deletions
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;
}
}
+}
/**