mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-21 15:26:58 +01:00
Infer file/line location in rcube::raise_error() from backtrace (#9422)
* \n\s+'file' => __FILE__, * \n\s+'line' => __LINE__, * 'line' => __LINE__, 'file' => __FILE__, * 'file' => __FILE__, 'line' => __LINE__, * rest * more * improve cs * more cs * revert rcube_utils::preg_error changes * impl file/line from backtrace * Revert "revert rcube_utils::preg_error changes"
This commit is contained in:
@@ -357,7 +357,7 @@ class rcmail_attachment_handler
|
||||
header('Location: ' . $_SERVER['REQUEST_URI'] . '&_redirected=1');
|
||||
} else {
|
||||
rcube::raise_error([
|
||||
'code' => 500, 'file' => __FILE__, 'line' => __LINE__,
|
||||
'code' => 500,
|
||||
'message' => 'Unable to get/display message part. IMAP connection error',
|
||||
], true, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user