Select Git revision
session.php
Forked from
IF3110-2023-01-J / IF3110-2023-01-J
Source project has a limited visibility.
session.php 200 B
<?php
// session_start();
include_once __DIR__."/../config/config.php";
include_once __DIR__.'/../app/core/database.php';
if (isset($_SESSION['user_id'])) {
header("Location: ../../index.php");
}