aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/index.php b/index.php
index 4aebfe10..f1953c2c 100644
--- a/index.php
+++ b/index.php
@@ -35,7 +35,12 @@ $tpl_vars = array(
35if (! empty($notInstalledMessage)) { 35if (! empty($notInstalledMessage)) {
36 if (! Poche::$canRenderTemplates || ! Poche::$configFileAvailable) { 36 if (! Poche::$canRenderTemplates || ! Poche::$configFileAvailable) {
37 # We cannot use Twig to display the error message 37 # We cannot use Twig to display the error message
38 die($notInstalledMessage); 38 echo '<h1>Errors</h1><ol>';
39 foreach ($notInstalledMessage as $message) {
40 echo '<li>' . $message . '</li>';
41 }
42 echo '</ol>';
43 die();
39 } else { 44 } else {
40 # Twig is installed, put the error message in the template 45 # Twig is installed, put the error message in the template
41 $tpl_file = Tools::getTplFile('error'); 46 $tpl_file = Tools::getTplFile('error');