mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-12-22 13:45:02 +00:00
Add unknown file / line text
This commit is contained in:
parent
b97dfe7d4f
commit
7e662bc835
1 changed files with 1 additions and 1 deletions
2
core.php
2
core.php
|
@ -469,7 +469,7 @@ function stack_trace($log_trace = true, $full = false)
|
|||
foreach ($stackTrace as $i => $stackEntry)
|
||||
{
|
||||
$result .= "#" . ($stackHeight - $i) . ": ";
|
||||
$result .= (isset($stackEntry["file"]) ? $stackEntry["file"] : "") . ":" . (isset($stackEntry["line"]) ? $stackEntry["line"] : "") . " - ";
|
||||
$result .= (isset($stackEntry["file"]) ? $stackEntry["file"] : "(unknown file)") . ":" . (isset($stackEntry["line"]) ? $stackEntry["line"] : "(unknown line)") . " - ";
|
||||
if(isset($stackEntry["function"]))
|
||||
{
|
||||
$result .= "(in " . $stackEntry["function"];
|
||||
|
|
Loading…
Reference in a new issue