diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -35,7 +35,12 @@ $tpl_vars = array( | |||
35 | if (! empty($notInstalledMessage)) { | 35 | if (! 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'); |