KHÁCH HÀNG

<?php
	session_save_path(get_template_directory().'/modules/sess');
	if(!isset($_SESSION)){
        session_start();
    }
	if (isset($_SESSION['userid'])){
  	  unset($_SESSION['userid']); // xóa session login
  	  session_destroy(); 
	}
	//ob_flush();
	//echo "id=".$_SESSION['userid'];
?>
<?php
	ob_clean();
	header('location: index.php');
	exit;
?>