forked from shauninman/Lessn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
88 lines (62 loc) · 2.85 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
-----------------------------------------------------------
# Lessn is an extremely simple, personal url shortener
written in PHP with MySQL and mod_rewrite.
-----------------------------------------------------------
Installation
1. Open /lessn/-/config.php in a plaintext editor and
create a Lessn username and password then enter your
database connection details.
2. Upload the entire /lessn/ directory to your server.
For the shortest urls, place it at the root of your
site and rename to a single character.
Example: http://doma.in/x/
3. Visit http://doma.in/x/-/ to Lessn a new url and grab
the bookmarklets (the required database table is created
automatically the first time you visit Lessn).
NOTE:
If your Lessn'd urls aren't working you probably didn't
upload the .htaccess file. Enable "Show invisible files"
in your FTP application.
-----------------------------------------------------------
Updating from 1.0.1
1. Using a tool like PhpMyAdmin or the MySQL CLI change the
checksum index type to INDEX (from UNIQUE).
2. Replace all files and directories in /-/ with the updated
versions in this archive except /-/config.php.
3. (Optional) Define a customized API_SALT in /-/config.php
-----------------------------------------------------------
Updating to 1.0.5
1. Replace all files and directories in /-/ with the updated
versions in this archive except /-/config.php.
2. (Optional) Define a customized API_SALT in /-/config.php
-----------------------------------------------------------
Updating to 1.0.6 from 1.0.5
1. Replace /-/index.php with the updated version in this
archive (only LESSN_VERSION changed).
2. In /index.php replace line 9 with lines 9-10 from the
updated version in this archive.
-----------------------------------------------------------
Updating to 1.0.7 from 1.0.6
1. Replace /-/index.php with the updated version in this
archive.
2. Replace /index.php with the updated version in this
archive (minding any changes you might have made, diff
before replacing if necessary).
3. Replace /-/pages/done.php with the updated version in
this archive.
-----------------------------------------------------------
Updating to 1.1 from 1.0.7
1. Upload /-/SIDB423.php to your server.
2. Replace /-/index.php and /-/db.php with the updated
versions in this archive.
3. Replace /index.php with the updated version in this
archive (minding any changes you might have made, diff
before replacing if necessary).
-----------------------------------------------------------
Updating to 1.1.1 from 1.1
1. Replace /-/SIDB423.php with the updated version in this
archive.
2. Upload /-/SIDB5.php to your server.
-----------------------------------------------------------
Lessn is offered as-is, sans support and without warranty.
Copyright © 2009 Shaun Inman http://shauninman.com/