Fehlerbeseitigung login
This commit is contained in:
parent
5d0fea6c08
commit
44aab110ed
1 changed files with 4 additions and 4 deletions
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
require 'config.php';
|
||||
if (!isset($_SESSION['user_id'])) {
|
||||
header('Location: index.php');
|
||||
exit;
|
||||
}
|
||||
//if (!isset($_SESSION['user_id'])) {
|
||||
// header('Location: index.php');
|
||||
// exit;
|
||||
//}
|
||||
// echo $_SESSION['user_id'];
|
||||
error_log($_SESSION['user_id']);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue