-
+
-
+
+ + = Kohana_Exception::debug_path($file)?>[ = $line?> ] + +
+ ++ if (Kohana_Exception::$source_output and $source_code = Kohana_Exception::debug_source($file, $line)): ?>+foreach ($source_code as $num => $row): ?>">= $num ?>= htmlspecialchars($row, ENT_NOQUOTES, Kohana::CHARSET) ?> endforeach ?>+ endif ?> +
+
+ if (Kohana_Exception::$trace_output): ?>
+ foreach (Kohana_Exception::trace($trace) as $i => $step): ?>
+ -
+
+ + if ($step["file"]): $source_id = "$error_id.source.$i" ?> + if (Kohana_Exception::$source_output and $step["source"]): ?> + = Kohana_Exception::debug_path($step["file"])?>[ = $step["line"]?> ] + else: ?> + = Kohana_Exception::debug_path($step["file"])?>[ = $step["line"]?> ] + endif ?> + else: ?> + {= t("PHP internal call")?>} + endif?> + + » + = $step["function"]?>( if ($step["args"]): $args_id = "$error_id.args.$i" ?> + = t("arguments")?> + endif?>) +
+ if (isset($args_id)): ?> +++ endif?> + if (Kohana_Exception::$source_output and $step["source"] and isset($source_id)): ?> ++ foreach ($step["args"] as $name => $arg): ?> +
++ + endforeach?> ++ += $name?>
++ += Kohana_Exception::safe_dump($arg, $name) ?>
+
+ endif?> +foreach ($step["source"] as $num => $row): ?>">= $num ?>= htmlspecialchars($row, ENT_NOQUOTES, Kohana::CHARSET) ?> endforeach ?>
+ unset($args_id, $source_id) ?>
+ endforeach?>
+