diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-10-07 13:12:28 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-10-07 13:12:28 +0200 |
commit | 9d3b88b3796496b68e762d50904a7ab609edc9c3 (patch) | |
tree | daf5c8ded0b55e4f908ea632095fe85a15871f18 /index.php | |
parent | 5eebe4e50dd5da7e87e98c366205ed3266348603 (diff) | |
download | wallabag-9d3b88b3796496b68e762d50904a7ab609edc9c3.tar.gz wallabag-9d3b88b3796496b68e762d50904a7ab609edc9c3.tar.zst wallabag-9d3b88b3796496b68e762d50904a7ab609edc9c3.zip |
bug fix #266: make installation steps easier
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'); |