<commit_before><?php

namespace Library;

if ( !defined('BASE_PATH')) exit('No direct script access allowed.');


/**
 * The admin controller
 * 
 * @package 
 * @version $id$
 * @author <NAME> 
 * @license http://pokoot.com/license.txt
 */
class Admin{

   

    public function index(){
    }
}

?><commit_msg>require directory restructure<commit_after><?php

namespace Library;

if ( !defined('BASE_PATH')) exit('No direct script access allowed.');


/**
 * The admin controller
 * 
 * @package 
 * @version $id$
 * @author <NAME> 
 * @license http://pokoot.com/license.txt
 */
class Admin{

    public $model;
    public $css;
    public $js;
    
    public $vendor;
    public $helper;


    public $request;
    public $yaml;
    public $config;
    public $language;

   

    public function index(){


        $file = SYSTEM_PATH . "controller/" . MODULE . ".php";

        if( !file_exists( $file ) ){
            $file = APPLICATION_PATH . "admin/controller/" . MODULE . ".php" ;
        }

        if( !file_exists( $file ) ){
            die( "Unable to load module. Please check your admin controller if it does exist. ");
        }

        require_once $file;

        if( !class_exists( MODULE ) ){
            die( "Unable to load module. The class already exist. Please check for possible class duplicates" );
        }

        

        
    }
}

?>
{'fraction_non_alphanumeric': 0.13566739606126915, 'fraction_numerical': 0.0, 'mean_word_length': 2.251184834123223, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '7555591', 'n_tokens_mistral': 426, 'n_tokens_neox': 405, 'n_words': 120}