]> git.mxchange.org Git - friendica.git/blobdiff - src/App.php
Merge pull request #3381 from Quix0r/rewrites/coding-convention-split2-4-2
[friendica.git] / src / App.php
index aba32e8dedbdabdeef6371d56f784c23d82b7579..aaaf6b24512ad721c10839f271c63a2d402cde87 100644 (file)
@@ -729,8 +729,8 @@ class App {
         *
         * @return string
         */
-       function callstack() {
-               $trace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, 6);
+       function callstack($depth = 4) {
+               $trace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, $depth + 2);
 
                // We remove the first two items from the list since they contain data that we don't need.
                array_shift($trace);