<commit_before><?php

defined('BASEPATH') OR exit('No direct script access allowed');

class Page extends CI_Controller {

    public function __construct() {

        parent::__construct();

        $this->load->model(FRONT_DIR . '/FrontPage', 'page');

        $this->load->model(FRONT_DIR . '/FrontUser', 'user');
    }

    public function index() {

        if ($this->session->userdata('user_id') != '') {

            $header['userProfileInfo'] = $this->user->userProfileInfo();
        }

        $last = $this->uri->total_segments();

        $pageUrl = $this->uri->segment($last);

        $data['pageDetail'] = $this->page->getPageDetail($pageUrl);

        $header['module_heading'] = $data['pageDetail']->pageTitle;<commit_msg>no message<commit_after><?php defined('BASEPATH') OR exit('No direct script access allowed');

class Page extends CI_Controller {

    public function __construct() {

        parent::__construct();

        $this->load->model(FRONT_DIR . '/FrontPage', 'page');

        $this->load->model(FRONT_DIR . '/FrontUser', 'user');
    }

    public function index() {

        if ($this->session->userdata('user_id') != '') {

            $header['userProfileInfo'] = $this->user->userProfileInfo();
        }

        $last = $this->uri->total_segments();

        $pageUrl = $this->uri->segment($last);

        $data['pageDetail'] = $this->page->getPageDetail($pageUrl);

        $header['module_heading'] = $data['pageDetail']->pageTitle;
{'fraction_non_alphanumeric': 0.18699186991869918, 'fraction_numerical': 0.0, 'mean_word_length': 3.114206128133705, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 33, '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': '103834', 'n_tokens_mistral': 448, 'n_tokens_neox': 424, 'n_words': 74}