Skip to content

Commit

Permalink
Update php-snippets.md
Browse files Browse the repository at this point in the history
  • Loading branch information
henry7720 authored Sep 8, 2018
1 parent d4c0828 commit 99e6c28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php-snippets.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

See [README.md](README.md) before continuing on this page or see the [plain text](php-snippets.txt) version.

1. Add the full path of the page you want to protect (including the PHP filename; it can't just be folder names, it should look like `/foo/bar.php` or `/bar.php`) to the [`$whitelist` array](verification.php#L15) on line 15 in [verification.php](verification.php).
1. Add the full path of the page you want to protect (including the PHP filename; it can't just be folder names, it should look like `/foo/bar.php` or `/bar.php`) to the [`$whitelist` array](verification.php#L21) in [verification.php](verification.php).

2. Add the first snippet above the doctype declaration (`<!DOCTYPE HTML>`)

Expand Down

0 comments on commit 99e6c28

Please sign in to comment.