Files
Testing/user_logout.php
sean 0e8a8b3028
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-17 16:15:01 -05:00

17 lines
345 B
PHP

<?php
/* $Id: user_logout.php 239 2009-11-14 00:04:15Z john $ */
$page = "user_logout";
include "header.php";
if( @$_GET['token'] == $session->get('token') || strtoupper($_SERVER['REQUEST_METHOD']) === 'POST' )
{
$user->user_logout();
}
else{$user->user_logout();}
// FORWARD TO USER LOGIN PAGE
cheader("/logout.php?loggedout");
exit();
?>