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
mahara
mahara
Commits
9fc5a6b6
Commit
9fc5a6b6
authored
Dec 15, 2006
by
Nigel McNie
Committed by
Nigel McNie
Dec 15, 2006
Browse files
Slightly more readable for errors.
parent
13eca067
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/errors.php
View file @
9fc5a6b6
...
...
@@ -293,7 +293,7 @@ function log_build_backtrace($backtrace) {
foreach
(
$calls
as
$call
)
{
$textmessage
.
=
" *
{
$call
[
'class'
]
}{
$call
[
'type'
]
}{
$call
[
'func'
]
}
(
{
$call
[
'args'
]
}
) at
{
$call
[
'file'
]
}
:
{
$call
[
'line'
]
}
\n
"
;
$htmlmessage
.
=
'<li><span style="color:#933;">'
.
htmlspecialchars
(
$call
[
'class'
],
ENT_COMPAT
,
'UTF-8'
)
.
'</span><span style="color:#060;">'
.
htmlspecialchars
(
$call
[
'type'
],
ENT_COMPAT
,
'UTF-8'
)
.
'</span><span style="color:#
9
33;">'
.
htmlspecialchars
(
$call
[
'func'
],
ENT_COMPAT
,
'UTF-8'
)
.
htmlspecialchars
(
$call
[
'type'
],
ENT_COMPAT
,
'UTF-8'
)
.
'</span><span style="color:#33
9
;">'
.
htmlspecialchars
(
$call
[
'func'
],
ENT_COMPAT
,
'UTF-8'
)
.
'</span><span style="color:#060;">(</span><span style="color:#f00;">'
.
htmlspecialchars
(
$call
[
'args'
],
ENT_COMPAT
,
'UTF-8'
)
.
'</span><span style="color:#060;">)</span> at <strong>'
.
htmlspecialchars
(
$call
[
'file'
],
ENT_COMPAT
,
'UTF-8'
)
.
':'
.
$call
[
'line'
]
.
'</strong></li>'
;
}
$htmlmessage
.
=
"</pre>
\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