protected static function __setPaths(string $base, string $env, string $current, $isfcm = false)
    {

        self::$framework_paths =
            [
                "framework.env" =>  $env,
                "framework.root" =>  $base,
                "framework.elements" =>  $base."elements/",
                "framework.bin" =>  $base."bin/",
                "framework.config" =>  $base."elements/config_files/",
                "framework.config.api" =>  $base."elements/config_files/api/",
                "framework.config.core" =>  $base."elements/config_files/core/",
                "framework.config.core.services.file" =>  $base."elements/config_files/core/services/services.json",
                "framework.config.core.apps.file" =>  $base."elements/config_files/core/apps.json",
                "framework.config.core.config.file" =>  $base."elements/config_files/core/framework.config.json",
                "framework.config.db.file" =>  $base."elements/config_files/db/databases.json",
                "framework.config.autoloader" =>  $base."elements/config_files/engine_autoloader/",
                "framework.config.autoloader.dev.file" =>
                    $base."elements/config_files/engine_autoloader/map.class.dev.json",
                "framework.config.autoloader.prod.file" =>
                    $base."elements/config_files/engine_autoloader/map.class.prod.json",
                "framework.config.hosts.dev.file" =>  $base."elements/config_files/hosts/hosts.dev.json",
                "framework.config.hosts.prod.file" =>  $base."elements/config_files/hosts/hosts.prod.json",
                "framework.config.smarty.file" =>  $base."elements/config_files/smarty_config/smarty.json",
                "framework.baseapps" =>  $base."vendor/iumio/framework/BaseApps/",
                "framework.baseapps.apps.file" =>  $base."vendor/iumio/framework/BaseApps/apps.json",
                "framework.vendor_iumio" =>  $base."vendor/iumio/framework/",
                "framework.fcm" =>  $base."vendor/iumio/framework/Core/Additional/Manager/",
                "framework.additional" =>  $base."vendor/iumio/framework/Core/Additional/",
                "framework.hosts" =>  $base."elements/config_files/hosts/",
                "framework.vendor" =>  $base."vendor/",
                "framework.cache" =>  $base."elements/cache/",
                "framework.compiled" =>  $base."elements/compiled/",
                "framework.logs" =>  $base."elements/logs/",
                "framework.logs.dev.file" =>  $base."elements/logs/dev.log",
                "framework.logs.prod.file" =>  $base."elements/logs/prod.log",
                "framework.logs.debug.dev.file" =>  $base."elements/logs/debug.dev.log.json",
                "framework.logs.debug.prod.file" =>  $base."elements/logs/debug.prod.log.json",
                "framework.cache.dev" =>  $base."elements/cache/dev/",
                "framework.cache.prod" =>  $base."elements/cache/prod/",
                "framework.compiled.dev" =>  $base."elements/compiled/dev/",
                "framework.compiled.prod" =>  $base."elements/compiled/prod/",
                "framework.exceptions" =>  $base."vendor/iumio/framework/Core/Exceptions/Server/",
                "framework.exceptions_view" =>  $base."vendor/iumio/framework/Core/Exception/Server/views/",
                "framework.web" =>  $base."public/",
                "framework.web.components" =>  $base."public/components/",
                "framework.web.components.apps" =>  $base."public/components/apps/",
                "framework.web.components.libs" =>  $base."public/components/libs/",
                "framework.web.components.libs.framework" =>  $base."public/components/libs/iumio-framework/",
                "framework.apps" =>  $base."apps/",
                "framework.overrides" =>  $base."elements/overrides/",
                "app.front" =>  $base."apps/%app_name%/Front/",
                "app.master" =>  $base."apps/%app_name%/Masters/",
                "app.routing" =>  $base."apps/%app_name%/Routing/",
                "app.views" =>  $base."apps/%app_name%/Front/views/",
                "app.resources" =>  $base."apps/%app_name%/Front/Resources/",
                "app.config.file" =>  $base."apps/%app_name%/config.json",
                "baseapp.front" =>  $base."vendor/iumio/framework/BaseApps/%app_name%/Front/",
                "baseapp.master" =>  $base."vendor/iumio/framework/BaseApps/%app_name%/Masters/",
                "baseapp.routing" =>  $base."vendor/iumio/framework/BaseApps/%app_name%/Routing/",
                "baseapp.views" =>  $base."vendor/iumio/framework/BaseApps/%app_name%/Front/views/",
                "baseapp.resources" =>  $base."vendor/iumio/framework/BaseApps/%app_name%/Front/Resources/",
            ];

        if ($isfcm == false) {
            self::$framework_paths["host"] = self::getProtocol()."://".$_SERVER['HTTP_HOST'];
            self::$framework_paths["host.current"] =  $current;
            self::$framework_paths["host.web.components"] = $current."/components/";
            self::$framework_paths["host.web.components.apps"] = $current."/components/apps/";
            self::$framework_paths["host.web.components.libs"] = $current."/components/libs/";
            self::$framework_paths["host.web.components.libs.framework"] = $current."/components/libs/iumio-framework/";
        }
    }