From 679b6b85ad1f8c9110334101a1568510ad15891b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nicolas=20L=C5=93uillet?=
Date: Fri, 23 Aug 2013 22:43:16 +0200
Subject: preparing to beta4
---
install/update.php | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 71 insertions(+)
create mode 100644 install/update.php
(limited to 'install/update.php')
diff --git a/install/update.php b/install/update.php
new file mode 100644
index 00000000..ccc0566f
--- /dev/null
+++ b/install/update.php
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+
+
+
+ updating poche
+
+
+ update poche to 1.0-beta4
+
+ Changelog
+
+ - this awesome updating step
+ - error message when install folder exists
+ - more tests before installation (write access, etc.)
+ - updated README to make installation easier
+ - german language thanks to HLFH
+ - spanish language thanks to Nitche
+ - new file ./inc/poche/myconfig.inc.php created to store language and salt
+ - #119: salt is now created when installing poche
+ - #130: robots.txt added
+ - #136: error during readability import
+ - #137: mixed content alert in https
+ - #138: change pattern to parse url with #
+
+ To update your poche, please fill the following fields.
+
+
+
+login($_POST['login'], sha1($_POST['password'] . $_POST['login'] . SALT));
+ if ($user != array()) {
+ $myconfig_file = '../inc/poche/myconfig.inc.php';
+ # just change version number in config file
+
+ if (!is_writable('../inc/poche/myconfig.inc.php')) {
+ die('You don\'t have write access to open ./inc/poche/myconfig.inc.php.');
+ }
+
+ if (file_exists($myconfig_file))
+ {
+ $content = str_replace('1.0-beta3', '1.0-beta4', file_get_contents($myconfig_file));
+ file_put_contents($myconfig_file, $content);
+ }
+?>
+ your poche is up to date!
+ don't forget to delete ./install/ folder after the update.
+ go back to your poche
+
+
+
\ No newline at end of file
--
cgit v1.2.3