|
|
@ -1630,6 +1630,7 @@ class rcube_base_replacer
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Throw system error and show error page
|
|
|
|
* Throw system error and show error page
|
|
|
|
*
|
|
|
|
*
|
|
|
@ -1642,6 +1643,8 @@ class rcube_base_replacer
|
|
|
|
* @param boolean True to log the error
|
|
|
|
* @param boolean True to log the error
|
|
|
|
* @param boolean Terminate script execution
|
|
|
|
* @param boolean Terminate script execution
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
// may be defined in Installer
|
|
|
|
|
|
|
|
if (!function_exists('raise_error')) {
|
|
|
|
function raise_error($arg=array(), $log=false, $terminate=false)
|
|
|
|
function raise_error($arg=array(), $log=false, $terminate=false)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
global $__page_content, $CONFIG, $OUTPUT, $ERROR_CODE, $ERROR_MESSAGE;
|
|
|
|
global $__page_content, $CONFIG, $OUTPUT, $ERROR_CODE, $ERROR_MESSAGE;
|
|
|
@ -1658,6 +1661,7 @@ function raise_error($arg=array(), $log=false, $terminate=false)
|
|
|
|
exit;
|
|
|
|
exit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|