public function edit200EventActivity()
    {
        $request = HttpListener::createFromGlobals();
        $mode = ($request->get("mode"));
        $file = JL::open(FEnv::get("framework.config.core.config.file"));
        if (!in_array($mode, ["true", "false"])) {
            return ((new Renderer())->jsonRenderer(array("code" => 500,
                "results" => "Undefined value for 200 Event : $mode ")));
        }
        $file->{"200_log"} = (bool)$mode;
        JL::put(FEnv::get("framework.config.core.config.file"), json_encode($file, JSON_PRETTY_PRINT));
        return ((new Renderer())->jsonRenderer(array("code" => 200, "msg" => "OK")));
    }
public function edit200EventActivity()
    {
        $request = HttpListener::createFromGlobals();
        $mode = ($request->get("mode"));
        $file = JL::open(FEnv::get("framework.config.core.config.file"));
        if (!in_array($mode, ["true", "false"])) {
            return ((new Renderer())->jsonRenderer(array("code" => 500,
                "results" => "Undefined value for 200 Event : $mode ")));
        }
        $file->{"200_log"} = (bool)$mode;
        JL::put(FEnv::get("framework.config.core.config.file"), json_encode($file, JSON_PRETTY_PRINT));
        return ((new Renderer())->jsonRenderer(array("code" => 200, "msg" => "OK")));
    }
public function edit200EventActivity ( ) { $ request = HttpListener :: createFromGlobals ( ) ; $ mode = ( $ request -> get ( "mode" ) ) ; $ file = JL :: open ( FEnv :: get ( "framework.config.core.config.file" ) ) ; if ( ! in_array ( $ mode , [ "true" , "false" ] ) ) { return ( ( new Renderer ( ) ) -> jsonRenderer ( array ( "code" => 500 , "results" => "Undefined value for 200 Event : $mode " ) ) ) ; } $ file -> { "200_log" } = ( bool ) $ mode ; JL :: put ( FEnv :: get ( "framework.config.core.config.file" ) , json_encode ( $ file , JSON_PRETTY_PRINT ) ) ; return ( ( new Renderer ( ) ) -> jsonRenderer ( array ( "code" => 200 , "msg" => "OK" ) ) ) ; }
Edit framework 200 event
@return Renderer
@throws \Exception
Edit framework 200 event