webshell
Ghost Exploiter Team Official
Mass Deface
Directory >>
/
home
/
whitjouh
/
public_html
/
core
/
vendor
/
mercadopago
/
dx-php
/
src
/
MercadoPago
/
Config
/
Mass Deface Auto Detect Domain
/*Ubah Ke document_root untuk mass deface*/
File / Folder
Size
Action
.
-
+New File
AbstractConfig.php
1.58KB
edt
ren
Json.php
0.784KB
edt
ren
ParserInterface.php
0.312KB
edt
ren
Yaml.php
0.67KB
edt
ren
<?php namespace MercadoPago\Config; use Exception; /** * Json Class Doc Comment * * @package MercadoPago\Config */ class Json implements ParserInterface { /** * @param $path * * @return mixed * @throws Exception */ public function parse($path) { $data = json_decode(file_get_contents($path), true); if (json_last_error() !== JSON_ERROR_NONE) { $error_message = 'Syntax error'; if (function_exists('json_last_error_msg')) { $error_message = json_last_error_msg(); } throw new Exception($error_message); } return $data; } /** * @return array */ public function getSupportedExtensions() { return array('json'); } }