aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-10-07 13:12:28 +0200
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-10-07 13:12:28 +0200
commit9d3b88b3796496b68e762d50904a7ab609edc9c3 (patch)
treedaf5c8ded0b55e4f908ea632095fe85a15871f18 /index.php
parent5eebe4e50dd5da7e87e98c366205ed3266348603 (diff)
downloadwallabag-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.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');