Skip to content

armgit / Vvveb

Public Imported from GitHub
0

Powerful and easy to use cms to build websites, blogs or ecommerce stores.

Error message

givanz78d440900034
diff --git a/app/template/error404.tpl b/app/template/error404.tpl
index 0da55b9..ed374e4 100755
--- a/app/template/error404.tpl
+++ b/app/template/error404.tpl
@@ -1,10 +1,12 @@
import(common.tpl)
+[data-v-message]|innerText = $this->message
[data-v-exception-*]|innerText = $this->@@__data-v-exception-(*)__@@
[data-v-exception-lines] [data-v-exception-line]|deleteAllButFirstChild
[data-v-exception-lines] [data-v-exception-line]|before = <?php
+if (isset($this->lines) && is_array($this->lines)) {
foreach ($this->lines as $index => $line) {?>
[data-v-exception-lines] [data-v-exception-line] = $line
@@ -15,4 +17,4 @@ foreach ($this->lines as $index => $line) {?>
} ?>
body|prepend = <?php $debug = defined('DEBUG') && DEBUG;?>
-[data-debug]|if_exists = $debug
\ No newline at end of file
+[data-debug]|if_exists = $debug
diff --git a/app/template/error500.tpl b/app/template/error500.tpl
index 312a639..dc84744 100755
--- a/app/template/error500.tpl
+++ b/app/template/error500.tpl
@@ -1,7 +1,11 @@
import(common.tpl)
+[data-v-message]|innerText = $this->message
[data-v-exception-*]|innerText = $this->@@__data-v-exception-(*)__@@
+[data-v-debug]|before = <?php if (defined('DEBUG') && DEBUG == true) { ?>
+[data-v-debug]|after = <?php } ?>
+
[data-v-exception-lines] [data-v-exception-line]|deleteAllButFirstChild
[data-v-exception-lines] [data-v-exception-line]|before = <?php