The following files exists in this folder. Click to view.
Foogler_blog/pages/login
PLogin.php
PLoginProcess.php
PLogoutProcess.php
<?php
//---------------------
//PLogoutProcess.php
//
//Handles logout process
//---------------------
// ------------------------------------------------------------------------
// Destroy the current session (logout user), if it exists.
require_once(TP_SOURCEPATH . 'FDestroySession.php');
// ------------------------------------------------------------------------
// Redirect to another page
$redirect = isset($_POST['redirect']) ? $_POST['redirect'] : 'index';
header('Location: ' . WS_SITELINK . "?p={$redirect}");
exit;