From f3e4f109a3ae6cd58e0abc9e909ac823d5e3065a Mon Sep 17 00:00:00 2001
From: Nicolas Frandeboeuf
Date: Fri, 23 Aug 2013 22:23:55 +0200
Subject: Revert "Clean markup in templates"
This reverts commit 8413a63f7d9df2695653ab2ef1d77927da6ddc55.
---
install/update.php | 79 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 79 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..8c93af6d
--- /dev/null
+++ b/install/update.php
@@ -0,0 +1,79 @@
+
+
+
+
+
+
+
+
+
+ updating poche
+
+
+ update poche to 1.0-beta3
+
+ 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'] . $old_salt));
+ if ($user != array()) {
+ $new_salt = md5(time() . $_SERVER['SCRIPT_FILENAME'] . rand());
+ $myconfig_file = '../inc/poche/myconfig.inc.php';
+ if (!is_writable('../inc/poche/')) {
+ die('You don\'t have write access to create ./inc/poche/myconfig.inc.php.');
+ }
+
+ if (!file_exists($myconfig_file))
+ {
+ $fp = fopen($myconfig_file, 'w');
+
+ fwrite($fp, 'updatePassword($user['id'], sha1($_POST['password'] . $_POST['login'] . $new_salt));
+?>
+ 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