Skip to content
Snippets Groups Projects
Select Git revision
  • 775549229e5efecc66994b5c5fa0d1d08cec7464
  • main default protected
  • phpHaidar
  • Haidar
  • v2
  • v1
6 results

session.php

Blame
  • 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");
    }