<commit_before><?php

//this script may only be included - so its better to die if called directly.
if (strpos($_SERVER["SCRIPT_NAME"],basename(__FILE__)) !== false) {
  header("location: index.php");
  exit;
}

require_once("lib/freetag/freetaglib.php");

$most_popular_tags = $freetaglib->get_most_popular_tags('', 0, $module_rows);

$smarty->assign('most_popular_tags', $most_popular_tags);<commit_msg>Need global $freetaglib now - because of evaluating modules first?<commit_after><?php

//this script may only be included - so its better to die if called directly.
if (strpos($_SERVER["SCRIPT_NAME"],basename(__FILE__)) !== false) {
  header("location: index.php");
  exit;
}

require_once("lib/freetag/freetaglib.php");
global $freetaglib;

$most_popular_tags = $freetaglib->get_most_popular_tags('', 0, $module_rows);

$smarty->assign('most_popular_tags', $most_popular_tags);
{'fraction_non_alphanumeric': 0.15288788221970556, 'fraction_numerical': 0.0022650056625141564, 'mean_word_length': 6.823008849557522, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1672410', 'n_tokens_mistral': 312, 'n_tokens_neox': 298, 'n_words': 65}