<?php
//include constants.php for siteurl
include('../config/constants.php');
//1.destroy the sessions
session_destroy();//unsets $_SESSION['user']
//2. Redirect to login page
header('location:'.SITEURL.'backend/login.php');
 ?>
