From 874ff4d4be5a8744052f9bcd810f62ac1da1193b Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Wed, 26 May 2010 04:46:49 -0400 Subject: [PATCH] - Fix raise_error() in Installer (#1486756) --- 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 409d6ee..6a81791 100644 --- a/program/include/main.inc +++ b/program/include/main.inc @@ -1630,6 +1630,7 @@ } } + /** * Throw system error and show error page * @@ -1642,6 +1643,8 @@ * @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 @@ exit; } } +} /** -- Gitblit v1.9.1