Browse code

move settings and secrets to .dist files to avoid overwriting of existing files when updating

rwa authored on 10.03.2019 13:28:36
Showing 3 changed files

... ...
@@ -56,7 +56,7 @@ Documentation
56 56
 
57 57
 There are two methods of using HashOver, both methods require doing the following first:
58 58
 
59
-1. Download this file: https://github.com/jacobwb/hashover/archive/master.zip.
59
+1. Download a release from: https://gitlab.com/guzzisti1/hashover-legacy/tags
60 60
 2. Extract the files under "hashover-master" at or upload them to your website's document root.
61 61
 3. Give (chmod) all the files permissions "0644" (readable by all and writable by owner).
62 62
 4. Give directories and PHP files permissions "0755" (readable by all, writable by owner, executable by all).
... ...
@@ -68,6 +68,9 @@ There are two methods of using HashOver, both methods require doing the followin
68 68
 
69 69
 **The following actions are required before using HashOver.**
70 70
 
71
+Rename the following files in `hashover/scripts/`:
72
+* `secrets.php.dist` -> `secrets.php`
73
+* `settings.php.dist` -> `settings.php`
71 74
 Edit the file `hashover/scripts/secrets.php` and make the following changes.
72 75
 Set a UNIQUE 8 to 32 character value for the `$encryption_key` variable.
73 76
 Set the `$notification_email` variable to any valid e-mail address.
74 77
similarity index 100%
75 78
rename from hashover/scripts/secrets.php
76 79
rename to hashover/scripts/secrets.php.dist
77 80
similarity index 100%
78 81
rename from hashover/scripts/settings.php
79 82
rename to hashover/scripts/settings.php.dist