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 = 'Неверный пароль';