Skip to content

Commit fd4be22

Browse files
authored
Update README.md
1 parent 90fc4b1 commit fd4be22

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This package is designed to store PHP sessions in a MySQL database so that you c
1212

1313
### Installing on your server
1414

15-
Create a session table in your MySQL database by running [install/setup.sql](install/setup.sql)
15+
1. Create a session table in your MySQL database by running [install/setup.sql](install/setup.sql)
1616

1717
```
1818
CREATE TABLE `likel_sessions` (
@@ -25,29 +25,29 @@ CREATE TABLE `likel_sessions` (
2525
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
2626
```
2727

28-
Move the files under /src into a directory on your server such as "session"
28+
2. Move the files under /src into a directory on your server such as "session"
2929

3030
```
3131
e.g. session/ini, session/models, session/autoload.php, session/example.php
3232
```
3333

34-
Move the [ini/credentials.ini](ini/credentials.ini) file to a location not accessible by the public
34+
3. Move the [ini/credentials.ini](ini/credentials.ini) file to a location not accessible by the public
3535

3636
```
3737
e.g. $ mv ini/credentials /var/www/html/
3838
```
3939

40-
Update the database information in the credentials.ini file
40+
4. Update the database information in the credentials.ini file
4141

42-
Ensure that when you create a new session you specify the new credentials.ini location
42+
5. Ensure that when you create a new session you specify the new credentials.ini location
4343

4444
```
4545
$session = new Likel\Session\Handler(array(
4646
'credentials_location' => "/path/to/new/credentials.ini"
4747
));
4848
```
4949

50-
Run [src/example.php](src/example.php) and check your database for the newly created session
50+
6. Run [src/example.php](src/example.php) and check your database for the newly created session
5151

5252
## Running the tests
5353

0 commit comments

Comments
 (0)