Zeile 6 | Zeile 6 |
---|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* $Id: class_error.php 4541 2009-11-26 08:22:56Z RyanGordon $
| * $Id: class_error.php 4622 2009-12-20 19:36:00Z RyanGordon $
|
*/ // Set to 1 if recieving a blank page (template failure).
| */ // Set to 1 if recieving a blank page (template failure).
|
Zeile 347 | Zeile 347 |
---|
$message = "Your copy of MyBB running on {$mybb->settings['bbname']} ({$mybb->settings['bburl']}) has experienced an error. Details of the error include:\n---\nType: $type\nFile: $file (Line no. $line)\nMessage\n$message";
|
$message = "Your copy of MyBB running on {$mybb->settings['bbname']} ({$mybb->settings['bburl']}) has experienced an error. Details of the error include:\n---\nType: $type\nFile: $file (Line no. $line)\nMessage\n$message";
|
$error = @my_mail($mybb->settings['adminemail'], "MyBB error on {$mybb->settings['bbname']}", $message, $mybb->settings['adminemail']); if($error) { $this->output_error(MYBB_GENERAL, $error, "", ""); }
| @my_mail($mybb->settings['adminemail'], "MyBB error on {$mybb->settings['bbname']}", $message, $mybb->settings['adminemail']);
|
}
function output_error($type, $message, $file, $line)
| }
function output_error($type, $message, $file, $line)
|