diff options
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"; |