<commit_before><?php

//Burden, Copyright <NAME> (http://github.com/joshf/Burden)

if (!file_exists("config.php")) {
    die("Error: Config file not found! Please reinstall Burden.");
}

require_once("config.php");

session_start();

unset($_SESSION["burden_user"]);

if (isset($_COOKIE["burden_user_rememberme"])) {
	setcookie("burden_user_rememberme", "", time()-86400);
}

header("Location: login.php?logged_out=true");

exit;

?><commit_msg>Use sesion_destroy() instead<commit_after><?php

//Burden, Copyright <NAME> (http://github.com/joshf/Burden)

if (!file_exists("config.php")) {
    die("Error: Config file not found! Please reinstall Burden.");
}

require_once("config.php");

session_start();

session_destroy();

if (isset($_COOKIE["burden_user_rememberme"])) {
	setcookie("burden_user_rememberme", "", time()-86400);
}

header("Location: login.php?logged_out=true");

exit;

?>
{'fraction_non_alphanumeric': 0.1941638608305275, 'fraction_numerical': 0.01122334455667789, 'mean_word_length': 6.756521739130434, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6023171', 'n_tokens_mistral': 334, 'n_tokens_neox': 321, 'n_words': 52}