summaryrefslogtreecommitdiff
path: root/pass.php
diff options
context:
space:
mode:
author8cy <[email protected]>2020-06-02 10:24:13 -0700
committer8cy <[email protected]>2020-06-02 10:24:13 -0700
commit2321b2a0acaa0cba14dc38633cd46adee838294c (patch)
treee556c69fc7fdb3d7afa7a1a4fd6b381112db126f /pass.php
downloadkyzer.co-admin-2321b2a0acaa0cba14dc38633cd46adee838294c.tar.xz
kyzer.co-admin-2321b2a0acaa0cba14dc38633cd46adee838294c.zip
Initial commit
Diffstat (limited to 'pass.php')
-rw-r--r--pass.php10
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