From 39130c4f8e83bbb4e813d83ed971d3b15808f7da Mon Sep 17 00:00:00 2001 From: Lain Iwakura Date: Thu, 24 Jul 2025 07:26:14 +0300 Subject: [PATCH] whoo --- admin1337.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin1337.php b/admin1337.php index 9bc93eb..250fe52 100644 --- a/admin1337.php +++ b/admin1337.php @@ -9,7 +9,7 @@ $config = require 'config.php'; if (isset($_GET['logout'])) { unset($_SESSION['admin_authenticated']); - header('Location: admin.php'); + header('Location: admin1337.php'); exit; } @@ -18,7 +18,7 @@ if (!isset($_SESSION['admin_authenticated'])) { $password = $_POST['password'] ?? ''; if ($password === $config['admin']['password']) { $_SESSION['admin_authenticated'] = true; - header('Location: admin.php'); + header('Location: admin1337.php'); exit; } else { $error = 'Неверный пароль';