* @license http://www.wtfpl.net/ see COPYING file
*/
-define ('POCHE', '1.5.0');
+define ('POCHE', '1.5.1');
require 'check_setup.php';
require_once 'inc/poche/global.inc.php';
session_start();
$errors = array();
$successes = array();
if ($_POST['download']) {
- if (!file_put_contents("cache/vendor.zip", fopen("http://wllbg.org/vendor", 'r'))) {
- $errors[] = 'Impossible to download vendor.zip. Please <a href="http://wllbg.org/vendor">download it here manually<∕a> and unzip it in your wallabag folder.';
+ if (!file_put_contents("cache/vendor.zip", fopen("http://static.wallabag.org/files/vendor.zip", 'r'))) {
+ $errors[] = 'Impossible to download vendor.zip. Please <a href="http://wllbg.org/vendor">download it manually<∕a> and unzip it in your wallabag folder.';
}
else {
if (extension_loaded('zip')) {
$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.';
+ $successes[] = 'wallabag is now installed. Don\'t forget to delete install folder. Then, <a href="index.php">reload this page</a>.';
}
}
}