]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/exceptions/class_FrameworkException.php
Account status page partly implemented, backtrace now without own saveBacktrace(...
[shipsimu.git] / inc / classes / exceptions / class_FrameworkException.php
index e74dd5a442e0d2593db00cf463fd2a7eec0fef99..34e48023f10574ef46ed46bae26509f22e941384 100644 (file)
@@ -54,7 +54,14 @@ abstract class FrameworkException extends ReflectionException {
         * @return      void
         */
        private final function saveBackTrace () {
+               // Get full backtrace
                $this->backTrace = debug_backtrace();
+
+               // Remove this call
+               $dummy = array_shift($this->backTrace);
+
+               // resort the array
+               ksort($this->backTrace);
        }
 
        /**