<commit_before><commit_msg>My commit<commit_after><?php  
define('DS', DIRECTORY_SEPARATOR);
define('PS', PATH_SEPARATOR);

if(file_exists(SITE_ROOT.DS.'module'.DS.'Core'.DS.'src'.DS.'Core'.DS.'Model'.DS.'Functions.php'))
    include_once SITE_ROOT.DS.'module'.DS.'Core'.DS.'src'.DS.'Core'.DS.'Model'.DS.'Functions.php';
else
    die('Functions.php file not found in core module structure');

final class Ething
{
    public static $_config;
    
    public static function run()
    { 
        self::$_config = new \Core\Model\Functions();
        
        // Run the application!
        Zend\Mvc\Application::init(require 'config/application.config.php')->run();
         
    }
    
    public static function init()
    {
        self::$_config = new \Core\Model\Functions();
    }
    
    public static function config()
    {
        return self::$_config;
    }
    
    public static function getClassInstance($modelClass = '', $arguments = array())
    { 
        return self::config()->getClassInstance($modelClass, $arguments);
    }
    
    public function getLocale()
    {
        $localtype = require 'config/autoload/locale.global.php';
        return $localtype;
    }
    
    public function getTimezones()
    {
        $localtype = require 'config/autoload/timezone.global.php';
        return $localtype;
    }
    
    public function getSiteConfig($path)
    { 
        return self::config()->getConfigData($path);
    }
    
}
{'fraction_non_alphanumeric': 0.14442916093535077, 'fraction_numerical': 0.0, 'mean_word_length': 2.6014851485148514, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 6, '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': '4948764', 'n_tokens_mistral': 435, 'n_tokens_neox': 432, 'n_words': 79}