!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/uploads/script/vendor/mercadopago/dx-php/src/MercadoPago/Config/   drwxr-xr-x
Free 13.01 GB of 57.97 GB (22.44%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     AbstractConfig.php (1.58 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
namespace MercadoPago\Config;

/**
 * AbstractConfig Class Doc Comment
 *
 * @package MercadoPago\Config
 */
abstract class AbstractConfig
{
    
/**
     * @var array|null
     */
    
protected $data null;

    
/**
     * @var array
     */
    
protected $cache = [];

    
/**
     * AbstractConfig constructor.
     *
     * @param array $data
     */
    
public function __construct(array $data)
    {
        
$this->data array_merge($this->getDefaults(), $data);
    }

    
/**
     * @return array
     */
    
protected function getDefaults()
    {
        return [];
    }

    public function 
clean()
    {
        return 
$this->data = array(
            
'base_url'      => 'https://api.mercadopago.com',
        );
    }


    
/**
     * @param      $key
     * @param null $default
     *
     * @return mixed|null
     */
    
public function get($key$default null)
    {
        
        if (
$this->has($key)) {
            return 
$this->data[$key];
        }

        return 
$default;
    }

    
/**
     * @param $key
     * @param $value
     */
    
public function set($key$value)
    {
        
$this->data[$key] = $value;
    }

    
/**
     * @param $key
     *
     * @return bool
     */
    
public function has($key)
    {
        return (
array_key_exists($key$this->data));
    }

    
/**
     * @return array|null
     */
    
public function all()
    {
        return 
$this->data;
    }

    
/**
     * @param array $data
     */
    
public function configure ($data = [])
    {
        foreach (
$data as $key => $value) {
            
$this->set($key$value);
        }
    }

}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0053 ]--