<commit_before><?php

// this will be used to protect all subpages from being directly accessed.
define('_we_are_one', 1);
session_start();

// turn output buffering on
ob_start();

require_once "config.php";
require_once ABSPATH . "/util.php";
require_once ABSPATH . "/header.php";
require_once ABSPATH . "/switcher.php";
require_once ABSPATH . "/footer.php";

// change the session ID regularly
if (!isset($_SESSION['creation_time'])) {
    $_SESSION['creation_time'] = time();
} else if (time() - $_SESSION['creation_time'] > MAX_SESSION_ID_LIFETIME * 60) {
    session_regenerate_id(true);
    $_SESSION['creation_time'] = time();<commit_msg>Include localization.php to allow translation.<commit_after><?php

// this will be used to protect all subpages from being directly accessed.
define('_we_are_one', 1);
session_start();

// turn output buffering on
ob_start();

require_once "config.php";
require_once ABSPATH . "/util.php";
require_once ABSPATH . "/localization.php";
require_once ABSPATH . "/header.php";
require_once ABSPATH . "/switcher.php";
require_once ABSPATH . "/footer.php";

// change the session ID regularly
if (!isset($_SESSION['creation_time'])) {
    $_SESSION['creation_time'] = time();
} else if (time() - $_SESSION['creation_time'] > MAX_SESSION_ID_LIFETIME * 60) {
    session_regenerate_id(true);
    $_SESSION['creation_time'] = time();
{'fraction_non_alphanumeric': 0.14901387874360847, 'fraction_numerical': 0.004382761139517896, 'mean_word_length': 5.171171171171171, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5652548', 'n_tokens_mistral': 446, 'n_tokens_neox': 432, 'n_words': 112}