Fehlerbeseitigung login

This commit is contained in:
fds2610 2026-01-08 18:18:05 +01:00
parent 5d0fea6c08
commit 44aab110ed

View file

@ -1,9 +1,9 @@
<?php <?php
require 'config.php'; require 'config.php';
if (!isset($_SESSION['user_id'])) { //if (!isset($_SESSION['user_id'])) {
header('Location: index.php'); // header('Location: index.php');
exit; // exit;
} //}
// echo $_SESSION['user_id']; // echo $_SESSION['user_id'];
error_log($_SESSION['user_id']); error_log($_SESSION['user_id']);