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

if(!class_exists('Controller')) { class Controller extends CI_Controller {} }

class Auth extends Controller {
 
    function __construct() 
    {
        parent::__construct();
        $this->load->library('ion_auth');
        $this->load->library('session');
        $this->load->library('form_validation');
        $this->load->database();
        $this->load->helper('url');
    }
 
    //redirect if needed, otherwise display the user list
    function index() 
    {
    	if (!$this->ion_auth->logged_in()) {
	    	//redirect them to the login page
			redirect('auth/login', 'refresh');
    	}<commit_msg>Added constructor to Controller class.<commit_after><?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

if(!class_exists('Controller'))
{ 
    class Controller extends CI_Controller {
	function __construct() {
	    parent::__construct(); 
	} 
    }
}

class Auth extends Controller {
 
    function __construct() 
    {
        parent::__construct();
        $this->load->library('ion_auth');
        $this->load->library('session');
        $this->load->library('form_validation');
        $this->load->database();
        $this->load->helper('url');
    }
 
    //redirect if needed, otherwise display the user list
    function index() 
    {
    	if (!$this->ion_auth->logged_in()) {
	    	//redirect them to the login page
			redirect('auth/login', 'refresh');
    	}
{'fraction_non_alphanumeric': 0.16, 'fraction_numerical': 0.0, 'mean_word_length': 3.013368983957219, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 27, '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': '3668455', 'n_tokens_mistral': 433, 'n_tokens_neox': 411, 'n_words': 97}