WPR FM
uid=9814(b13i2mwmyrdbxio) php=8.4.28
info
cwd /data/sites/web/b13i2mwmyrdbxio/www |
naik
Buka
-
csv.php
3875
x
-
download.php
2891
x
-
export.php
15808
x
-
import.php
5436
x
-
json.php
741
x
-
upload.php
2660
x
Upload
Simpan
<?php namespace MMP\FS; use MMP\Maps_Marker_Pro as MMP; class JSON { public $error; /** * Sets up the class * * @since 4.20 */ public function __construct() { $this->error = null; } /** * Reads a JSON file and converts it to an associative array * * @since 4.20 * * @param string $file Absolute path to the file */ public function parse($file) { $content = file_get_contents($file); if ($content === false) { $this->error = esc_html__('File could not be read', 'mmp'); return false; } $json = json_decode($content, true); if ($json === null) { $this->error = esc_html__('File could not be parsed', 'mmp'); return false; } return $json; } }
Exec