<commit_before><?php

/**
 * Start a search.
 *
 * @link http://github.com/marcoraddatz/candyCMS
 * @author <NAME> <http://marcoraddatz.com>
 * @license MIT
 * @since 1.5
 *
 */

namespace CandyCMS\Core\Controllers;

use CandyCMS\Core\Helpers\Helper;
use CandyCMS\Core\Helpers\I18n;

class Searches extends Main {

  /**
   * Search string.
   *
   * @var string
   * @access protected
   */
  protected $_sSearch;

  /**
   * Show search results.
   *
   * @access protected
   * @return string HTML content
   *
   */
  protected function _show() {
    if (!isset($this->_aRequest[$this->_sController]) || !$this->_aRequest[$this->_sController])
      return $this->_create();

    else {<commit_msg>fixing search<commit_after><?php

/**
 * Start a search.
 *
 * @link http://github.com/marcoraddatz/candyCMS
 * @author <NAME> <http://marcoraddatz.com>
 * @license MIT
 * @since 1.5
 *
 */

namespace CandyCMS\Core\Controllers;

use CandyCMS\Core\Helpers\Helper;
use CandyCMS\Core\Helpers\I18n;

class Searches extends Main {

  /**
   * Search string.
   *
   * @var string
   * @access protected
   */
  protected $_sSearch;

  /**
   * Show search results.
   *
   * @access protected
   * @return string HTML content
   *
   */
  protected function _show() {
    if (! ( (isset($this->_aRequest['search']) && $this->_aRequest['search']) ||
            (isset($this->_aRequest[$this->_sController]) && $this->_aRequest[$this->_sController]['search']) ) )
      return $this->_create();

    else {
{'fraction_non_alphanumeric': 0.16577896138482023, 'fraction_numerical': 0.005326231691078562, 'mean_word_length': 3.018716577540107, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 19, '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': '4936771', 'n_tokens_mistral': 518, 'n_tokens_neox': 509, 'n_words': 101}