<commit_before><?php
defined('BASEPATH') OR exit('No direct script access allowed');

class Welcome extends CI_Controller {

	public function __construct() {
		parent::__construct();
		$this->load->model('madmin');
	}

	public function index() {
		if ( isset($_GET['dni']) && !empty($_GET['dni']) && ( !in_array($_GET['dni'], array('DNI', 'dni')) ) ) {
			if ( $this->madmin->tecnicos_login($_GET['dni']) )
				redirect('encuestas?dni=' . $_GET['dni']);
			else
				$this->load->view('index', array('error' => 1));
		}
		else
			$this->load->view('index');
	}

}<commit_msg>cambios<commit_after><?php
defined('BASEPATH') OR exit('No direct script access allowed');

class Welcome extends CI_Controller {

	public function __construct() {
		parent::__construct();
		$this->load->model('madmin');
	}

	public function index() {
		if ( isset($_GET['dni']) && !empty($_GET['dni']) && ( !in_array($_GET['dni'], array('DNI', 'dni')) ) ) {
			if ( $this->madmin->tecnicos_login($_GET['dni']) )
				redirect('encuestas?dni=' . $_GET['dni']);
			else
				$this->load->view('index', array('error' => 1));
		}
		else
			$this->load->view('index');
	}
}
{'fraction_non_alphanumeric': 0.23488168273444346, 'fraction_numerical': 0.0017528483786152498, 'mean_word_length': 4.88659793814433, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 21, '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': '1668637', 'n_tokens_mistral': 442, 'n_tokens_neox': 400, 'n_words': 72}