<?php require_once '../config.php'; // if (session_destroy()) { // //session_unset($_SESSION['login_user']); // header('location:index.php'); // } session_destroy(); unset($_SESSION['user_id']); header('location:'.$url.'admin'); ?>