protected static function ini($database = true, $test = false)
    {
        Alias::ini(self::$root);
        Url::ini();
        Path::ini();
        Template::run();
        if (Component::isOn('faker')) {
            Faker::ini();
        }
        Link::ini();
        Lang::ini($test);
        if ($database && Component::isOn('database')) {
            Database::ini();
            Schema::ini();
        }
        Auth::ini();
        Plugins::ini();
    }