From 031df528b611a5c6639c0d86636633da098d8aa2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nicolas=20L=C5=93uillet?=
Date: Mon, 7 Oct 2013 13:19:34 +0200
Subject: bug fix #268: move POCHE_VERSION in index.php and change the name to
avoid conflicts when updating
---
install/update_to_1beta3.php | 79 --------------------------------------------
1 file changed, 79 deletions(-)
delete mode 100644 install/update_to_1beta3.php
(limited to 'install/update_to_1beta3.php')
diff --git a/install/update_to_1beta3.php b/install/update_to_1beta3.php
deleted file mode 100644
index e0da1590..00000000
--- a/install/update_to_1beta3.php
+++ /dev/null
@@ -1,79 +0,0 @@
-
-
-
-
-
-
-
-
-
- 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