<commit_before><?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-syslog.php,v 1.6 2005-07-28 15:20:18 sylvieg Exp $

require_once ('tiki-setup.php');

if ($tiki_p_admin != 'y') {
	if (!$user) {
		$smarty->assign('msg',$smarty->fetch('modules/mod-login_box.tpl'));
		$smarty->assign('errortitle',tra("Please login"));
	} else {
		$smarty->assign('msg', tra("You do not have permission to use this feature"));
	}
	$smarty->display("error.tpl");
	die;
}

if (isset($_REQUEST["clean"])) {
	$area = 'cleanlogs';<commit_msg>[MOD]not to have the perm is not necessary not be logged in<commit_after><?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-syslog.php,v 1.7 2007-08-04 10:26:37 sylvieg Exp $

require_once ('tiki-setup.php');

if ($tiki_p_admin != 'y') {
	$smarty->assign('msg', tra("You do not have permission to use this feature"));
	$smarty->display("error.tpl");
	die;
}

if (isset($_REQUEST["clean"])) {
	$area = 'cleanlogs';
{'fraction_non_alphanumeric': 0.210412147505423, 'fraction_numerical': 0.03470715835140998, 'mean_word_length': 5.072368421052632, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 10, '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': '3787119', 'n_tokens_mistral': 382, 'n_tokens_neox': 361, 'n_words': 74}