denbooru-php/logout.php

7 lines
119 B
PHP

<?php
session_start();
session_unset();
session_destroy();
header("Location: " . $BASE_PATH . "/index.php"); die();
?>