diff options
author | Mateja <mail@matejamaric.com> | 2020-10-04 00:16:49 +0200 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2020-10-04 00:16:49 +0200 |
commit | a3094caeb564821870870d57efb4a4fc3fd659e7 (patch) | |
tree | 9399de7d6fd48900d1d01573a81a286aa2fdfa74 /edit.php | |
parent | 1e44886d6f53d5bb9621211810fdea247f7fbd71 (diff) | |
download | old-php-yota-a3094caeb564821870870d57efb4a4fc3fd659e7.tar.gz old-php-yota-a3094caeb564821870870d57efb4a4fc3fd659e7.zip |
A whole lot of shaking going on...
Diffstat (limited to 'edit.php')
-rw-r--r-- | edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,7 +1,7 @@ <?php session_start(); -if (isset($_SESSION['admin']) && $_SESSION['admin'] == true) { +if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_SESSION['admin']) && $_SESSION['admin'] == true) { try { $user = "yota_admin"; $password = "quaequaquagh6ahwoh6Chahx1EiFooGh"; |