<commit_before><!-- goes inside <head> -->
<?php if($GLOBALS['logged_in']): ?>

<?php
// init with defaults if we dont have any settings
if(!isset($wys)){ $wys = []; }
if(!isset($wys["cms_folder"])){ $wys["cms_folder"] = "cockpit/"; }
if(!isset($wys["edit_path"])){ $wys["edit_path"] = ""; }
?>

<script>
  // This path should point to the currently active page to provide quick
  // editor access through the wys-toolbar.
  var wys_cms_path = "/<?php print $wys['cms_folder'] ?>";
  var cms_active_edit_path = "/<?php print $wys['cms_folder'] ?>index.php/collections/entry/<?php print $wys['edit_path']; ?>";
</script>

<!-- jquery --><commit_msg>remove unnessary index.php in route<commit_after><!-- goes inside <head> -->
<?php if($GLOBALS['logged_in']): ?>

<?php
// init with defaults if we dont have any settings
if(!isset($wys)){ $wys = []; }
if(!isset($wys["cms_folder"])){ $wys["cms_folder"] = "cockpit/"; }
if(!isset($wys["edit_path"])){ $wys["edit_path"] = ""; }
?>

<script>
  // This path should point to the currently active page to provide quick
  // editor access through the wys-toolbar.
  var wys_cms_path = "/<?php print $wys['cms_folder'] ?>";
  var cms_active_edit_path = "/<?php print $wys['cms_folder'] ?>collections/entry/<?php print $wys['edit_path']; ?>";
</script>

<!-- jquery -->
{'fraction_non_alphanumeric': 0.22247706422018348, 'fraction_numerical': 0.0, 'mean_word_length': 4.84375, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '3149399', 'n_tokens_mistral': 465, 'n_tokens_neox': 454, 'n_words': 116}