Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fusiondirectory
fusiondirectory
Commits
7c817b7e
Commit
7c817b7e
authored
Dec 09, 2015
by
Côme Chilliet
Committed by
Mortier Benoit
Dec 23, 2015
Browse files
Put back one more line in PHP error traces
parent
203477d3
Changes
1
Show whitespace changes
Inline
Side-by-side
include/php_setup.inc
View file @
7c817b7e
...
...
@@ -31,7 +31,7 @@ function html_trace($errstr = "")
if
(
!
function_exists
(
'debug_backtrace'
))
{
return
array
(
""
,
""
);
}
$trace
=
array_slice
(
debug_backtrace
(),
2
);
$trace
=
array_slice
(
debug_backtrace
(),
1
);
$return_html
=
"<table width=
\"
100%
\"
style='background-color:#402005;color:white;border:2px solid red;border-spacing:0;border-collapse:collapse;'><tr><td colspan=3><h1 style='color:white'>"
.
_
(
"PHP error"
)
.
"
\"
$errstr
\"
</h1></td></tr>"
;
$return_mailto
=
rawurlencode
(
"=== Trace ==="
);
...
...
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