diff --git a/install/index.php b/install/index.php index b21cec521..35c21fbe7 100644 --- a/install/index.php +++ b/install/index.php @@ -1,7 +1,28 @@ download it manually<∕a> and unzip it in your wallabag folder.'; } @@ -25,7 +46,7 @@ if ($_POST['download']) { } } } -else if ($_POST['install']) { +else if (isset($_POST['install'])) { if (!is_dir('vendor')) { $errors[] = 'You must install twig before.'; } @@ -64,6 +85,7 @@ else if ($_POST['install']) { else { $db_path = 'sqlite:' . realpath('') . '/db/poche.sqlite'; $handle = new PDO($db_path); + $sql_structure = ""; } } else { @@ -129,7 +151,7 @@ else if ($_POST['install']) { $params = array($id_user, 'language', 'en_EN.UTF8'); $query = executeQuery($handle, $sql, $params); - $successes[] = 'wallabag is now installed. Don\'t forget to delete install folder. Then, reload this page.'; + $successes[] = 'wallabag is now installed. You can now access it !'; } } } @@ -198,18 +220,18 @@ else if ($_POST['install']) {
To install wallabag, you just have to fill the following fields. That's all.
-Don't forget to check your server compatibility here.
+Don't forget to check your server compatibility here.