aboutsummaryrefslogtreecommitdiff
path: root/app/views/error
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/error')
-rw-r--r--app/views/error/index.phtml13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/views/error/index.phtml b/app/views/error/index.phtml
new file mode 100644
index 000000000..ffa156068
--- /dev/null
+++ b/app/views/error/index.phtml
@@ -0,0 +1,13 @@
+<h1><?php echo Translate::t ('an error occured'); ?></h1>
+
+<h2><?php echo $this->code; ?></h2>
+
+<?php if (!empty ($this->logs)) { ?>
+<ul>
+ <?php foreach ($this->logs as $log) { ?>
+ <li><?php echo $log; ?></li>
+ <?php } ?>
+</ul>
+<?php } ?>
+
+<p><a href="<?php echo Url::display (); ?>"><?php echo Translate::t ('go back home'); ?></a></p>