0xsec Shell
0xSec


Server : LiteSpeed
System : Linux webbox1.ncrdns.net 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64
User : rahcos ( 1533)
PHP Version : 8.4.24
Disable Function : NONE
Directory :  /home4/rahcos/.trash/wp-content/plugins/fluentform/app/Http/Controllers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home4/rahcos/.trash/wp-content/plugins/fluentform/app/Http/Controllers/AnalyticsController.php
<?php

namespace FluentForm\App\Http\Controllers;

use Exception;
use FluentForm\App\Services\Analytics\AnalyticsService;
use FluentForm\App\Services\Browser\Browser;
use FluentForm\App\Services\Form\FormService;

class AnalyticsController extends Controller
{
    public function reset(AnalyticsService $analyticsService,$formId)
    {
        try {
            return $this->sendSuccess(
                $analyticsService->reset(intval($formId))
            );
        } catch (\Exception $e) {
            return $this->sendError([
                'message' => __('Something went wrong, please try again!', 'fluentform'),
                'error'   => $e->getMessage(),
            ]);
        }
    }
}

c0oded By c0rpz