<commit_before><?php
/*if(!isset($_SERVER['HTTPS']) || $_SERVER['HTTPS'] == ""){
    $redirect = "https://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
    header("HTTP/1.1 301 Moved Permanently");
    header("Location: $redirect");
}
date_default_timezone_set('Asia/Jakarta');
/**<commit_msg>move https redirect to server config (.htaccess via apache)<commit_after><?php
/*if(!isset($_SERVER['HTTPS']) || $_SERVER['HTTPS'] == ""){
    $redirect = "https://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
    header("HTTP/1.1 301 Moved Permanently");
    header("Location: $redirect");
}*/
//date_default_timezone_set('Asia/Jakarta');
/**
{'fraction_non_alphanumeric': 0.2383177570093458, 'fraction_numerical': 0.01557632398753894, 'mean_word_length': 6.224719101123595, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '3970336', 'n_tokens_mistral': 222, 'n_tokens_neox': 210, 'n_words': 32}