diff --git a/install/index.php b/install/index.php index 599bbe2bb..e63b24239 100644 --- a/install/index.php +++ b/install/index.php @@ -1,9 +1,30 @@ download it manually<∕a> and unzip it in your wallabag folder.'; + $errors[] = 'Impossible to download vendor.zip. Please download it manually<∕a> and unzip it in your wallabag folder.'; } else { if (extension_loaded('zip')) { @@ -64,11 +85,11 @@ else if (isset($_POST['install'])) { else { $db_path = 'sqlite:' . realpath('') . '/db/poche.sqlite'; $handle = new PDO($db_path); + $sql_structure = ""; } } else { $content = file_get_contents('inc/poche/config.inc.php'); - $sql_structure = ''; if ($_POST['db_engine'] == 'mysql') { $db_path = 'mysql:host=' . $_POST['mysql_server'] . ';dbname=' . $_POST['mysql_database']; @@ -130,7 +151,7 @@ else if (isset($_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 !'; } } } @@ -144,7 +165,7 @@ else if (isset($_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.