linkpi_firmware_history/rootfs/link/web/hardware.php

5 lines
151 B
PHP
Raw Normal View History

2024-02-15 22:07:35 +01:00
<?php
$json_string = file_get_contents('/link/config/hardware.json');
$hardware = json_decode($json_string, true);
$chip = $hardware["chip"];
?>