<?php
require_once($_SERVER['DOCUMENT_ROOT'].'/classes/Article.php');

// Delete the cookies
setcookie("LoginUserId", "", time() - 86400);
setcookie("LoginUserKey", "", time() - 86400);
session_destroy();

// Unlock all articles that are locked by this user
Article::UnlockByUser($g_user->getUserId());

camp_html_goto_page("/$ADMIN/login.php");
?>
