diff options
| author | s1n <[email protected]> | 2020-03-28 10:31:08 -0700 |
|---|---|---|
| committer | s1n <[email protected]> | 2020-03-28 10:31:08 -0700 |
| commit | 6b81836e6b9815a2996a55ad37dcaa4d89f99e42 (patch) | |
| tree | 74bb9aa78ca31a6acfffd908e34dfb0df433c707 /pass.php | |
| parent | Create .gitignore (diff) | |
| download | cyne.cf-backup-6b81836e6b9815a2996a55ad37dcaa4d89f99e42.tar.xz cyne.cf-backup-6b81836e6b9815a2996a55ad37dcaa4d89f99e42.zip | |
Diffstat (limited to 'pass.php')
| -rw-r--r-- | pass.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pass.php b/pass.php new file mode 100644 index 0000000..6e5652c --- /dev/null +++ b/pass.php @@ -0,0 +1,10 @@ +<?php + /* Your password */ + $password = 'KONAMI'; + + if (empty($_COOKIE['password']) || $_COOKIE['password'] !== $password) { + // Password not set or incorrect. Send to login.php. + header('Location: login.php'); + exit; + } +?>
\ No newline at end of file |