source: logout.php

Last change on this file was 0791611, checked in by sstalevska <sara.stalevska@…>, 2 years ago

Push the entire project.

  • Property mode set to 100644
File size: 171 bytes
Line 
1<?php
2/**
3 * Destroy the user session, effectively logging him out, and redirect to the Home page.
4 */
5session_start();
6session_destroy();
7header('Location: /index.php');
Note: See TracBrowser for help on using the repository browser.