changes, finishing later

This commit is contained in:
2025-10-02 09:45:24 +02:00
parent 7249325faf
commit f98f5a3c07
12 changed files with 40 additions and 14 deletions

View File

@@ -1,7 +1,8 @@
<?php
session_start();
if (!isset($_SESSION['admin'])) { header("Location: login.php"); exit; }
include("../db.php");
include("../lib/db.php");
include("../config/config.php");
if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['name'])) {
$name = $_POST['name'];