<?php
session_start();
if (!isset($_SESSION['login']) || !isset($_SESSION['pwd'])) {
    header('location: ../login/index.php');
}
?>