public function editActivity(string $config)
    {
        $file = (array) JL::open(FEnv::get("framework.config").'smarty_config/smarty.json');
        foreach ($file as $one => $val) {
            if ($one == $config) {
                return ((new Renderer())->jsonRenderer(array("code" => 200, "results" => $val)));
            }
        }

        return ((new Renderer())->jsonRenderer(array("code" => 200, "results" => array())));
    }