mirror of
https://github.com/moparisthebest/wallabag
synced 2024-11-27 11:22:17 -05:00
version number 1.5.1
This commit is contained in:
parent
b89d5a2bf4
commit
fb5a9666ed
@ -8,7 +8,7 @@
|
|||||||
* @license http://www.wtfpl.net/ see COPYING file
|
* @license http://www.wtfpl.net/ see COPYING file
|
||||||
*/
|
*/
|
||||||
|
|
||||||
define ('POCHE', '1.5.0');
|
define ('POCHE', '1.5.1');
|
||||||
require 'check_setup.php';
|
require 'check_setup.php';
|
||||||
require_once 'inc/poche/global.inc.php';
|
require_once 'inc/poche/global.inc.php';
|
||||||
session_start();
|
session_start();
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
$errors = array();
|
$errors = array();
|
||||||
$successes = array();
|
$successes = array();
|
||||||
if ($_POST['download']) {
|
if ($_POST['download']) {
|
||||||
if (!file_put_contents("cache/vendor.zip", fopen("http://wllbg.org/vendor", 'r'))) {
|
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 here manually<∕a> and unzip it in your wallabag folder.';
|
$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 {
|
else {
|
||||||
if (extension_loaded('zip')) {
|
if (extension_loaded('zip')) {
|
||||||
@ -129,7 +129,7 @@ else if ($_POST['install']) {
|
|||||||
$params = array($id_user, 'language', 'en_EN.UTF8');
|
$params = array($id_user, 'language', 'en_EN.UTF8');
|
||||||
$query = executeQuery($handle, $sql, $params);
|
$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>.';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user