if (!empty($line) and !empty($file)): ?>
= t("Help!") ?>
= t("If this stuff doesn't make any sense to you, ask for help in the Gallery forums!", array("url" => "http://gallery.menalto.com/forum/96")) ?>
= t("So here's the error:") ?>
= $message ?>
= t("File: %file, line: %line", array("file" => $file, "line" => $line)) ?>
endif ?>
$trace = $PHP_ERROR ? array_slice(debug_backtrace(), 1) : $exception->getTrace(); ?>
$trace = Kohana::backtrace($trace); ?>
if (!empty($trace)): ?>
= t("And here's how we got there:") ?>
= $trace ?>
endif ?>