]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - index.php
bug fix #266: make installation steps easier
[github/wallabag/wallabag.git] / index.php
index 4aebfe10a1caf2e4717a1ca849487e19fcdcfcb6..f1953c2cc75e352ddbae5dc4db5942d231e60cd2 100644 (file)
--- a/index.php
+++ b/index.php
@@ -35,7 +35,12 @@ $tpl_vars = array(
 if (! empty($notInstalledMessage)) {
     if (! Poche::$canRenderTemplates || ! Poche::$configFileAvailable) {
         # We cannot use Twig to display the error message 
-        die($notInstalledMessage);
+        echo '<h1>Errors</h1><ol>';
+        foreach ($notInstalledMessage as $message) {
+            echo '<li>' . $message . '</li>';
+        }
+        echo '</ol>';
+        die();
     } else {
         # Twig is installed, put the error message in the template
         $tpl_file = Tools::getTplFile('error');