Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
1fbefb43
Commit
1fbefb43
authored
Dec 10, 2003
by
Leigh B. Stoller
Browse files
Add more information to web error email message (script and
arguments).
parent
f68d3b80
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/defs.php3.in
View file @
1fbefb43
...
...
@@ -106,10 +106,12 @@ function TBMAIL($to, $subject, $message, $headers = 0)
#
function
TBERROR
(
$message
,
$death
,
$xmp
=
0
)
{
global
$TBMAIL_WWW
,
$TBMAIL_OPS
,
$TBMAILADDR
;
$script
=
$_SERVER
[
'REQUEST_URI'
];
TBMAIL
(
$TBMAIL_OPS
,
"WEB ERROR REPORT"
,
"
\n
"
.
"In
$script
\n\n
"
.
"
$message
\n\n
"
.
"Thanks,
\n
"
.
"Testbed WWW
\n
"
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment