<commit_before><?php
namespace humanity;

class Content {

    private static $host;
    private static $config; 
    private static $js;
    private static $css;
    private static $app;
    private static $view;
    private static $widget;
    private static $routing;

    public function __construct(){
        # Config
        self::$config = (new Config)->instance()->config;
        # Host
        self::$host = parse_url('http://'.$_SERVER['HTTP_HOST']);
        if(isset(self::$host['host'])) self::$host = self::$host['host'];
        else self::$host = '/';
        # Application
        self::$app = new Application;
        # View<commit_msg>Developing<commit_after><?php
namespace humanity;

class Content {

    private static $host;
    private static $path;
    private static $config; 
    private static $js;
    private static $css;
    private static $app;
    private static $view;
    private static $widget;
    private static $routing;

    public function __construct(){
        # Config
        self::$config = (new Config)->instance()->config;
        # Host
        self::$host = parse_url('http://'.$_SERVER['HTTP_HOST'])['host'];
        # Url
        self::$path = explode('/',parse_url(urldecode($_SERVER['REQUEST_URI']))['path']);
        foreach(self::$path as $key=>$value){
            $value = trim($value);
            if(empty($value)) unset(self::$path[$key]);
        }
        self::$path = array_values(self::$path);
        # Application
        self::$app = new Application;
        # View
{'fraction_non_alphanumeric': 0.15309446254071662, 'fraction_numerical': 0.0, 'mean_word_length': 2.6658711217183773, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1910909', 'n_tokens_mistral': 418, 'n_tokens_neox': 430, 'n_words': 107}