Logo  

CS479/579 - Web Programming II

Displaying ./code/images/logout.php

<?php
include "auth.php";

$auth = new Auth();
if ($auth->authenticated() == false) header("location: login.php");
$auth->logout();

header("location: login.php");
?>