<commit_before><?php
session_start();

require_once('lib.php');
require_once('defines.php');



if (isset($_GET['organ']) && isset($_GET['file'])) {
  if (checkOrgan($_GET['organ']) && checkReadPerms($_GET['organ']) && checkFilename($_GET['file'])) {
    $file = REPORTDIR . SUBUNPUBLISHED . $_GET['organ'] . "/" . $_GET['file'];
    pandocToPDF($file, $file);
    $text = file_get_contents(REPORTDIR . $_GET['organ']. ".email");
    $text .= file_get_contents($file);
    echo $text;
    echo rlyWriteEmail("<EMAIL>","APVEL", $emailUN[$_GET['organ']],"Unveröffentlichtes Protokoll" . $_GET['file'] ." " .  $_GET['organ'], $text, array($file . ".pdf", $file)); 
  }
}

?>
<commit_msg>delete debug message<commit_after><?php
session_start();

require_once('lib.php');
require_once('defines.php');



if (isset($_GET['organ']) && isset($_GET['file'])) {
  if (checkOrgan($_GET['organ']) && checkReadPerms($_GET['organ']) && checkFilename($_GET['file'])) {
    $file = REPORTDIR . SUBUNPUBLISHED . $_GET['organ'] . "/" . $_GET['file'];
    pandocToPDF($file, $file);
    $text = file_get_contents(REPORTDIR . $_GET['organ']. ".email");
    $text .= file_get_contents($file);
    echo rlyWriteEmail("<EMAIL>","APVEL", $emailUN[$_GET['organ']],"Unveröffentlichtes Protokoll" . $_GET['file'] ." " .  $_GET['organ'], $text, array($file . ".pdf", $file)); 
  }
}

?>

{'fraction_non_alphanumeric': 0.2487122884473878, 'fraction_numerical': 0.0, 'mean_word_length': 5.325581395348837, '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': '5644164', 'n_tokens_mistral': 479, 'n_tokens_neox': 482, 'n_words': 72}