saving changes
This commit is contained in:
@@ -1,11 +1,4 @@
|
||||
<?php
|
||||
if (file_exists('/home/pi/BirdNET-Pi/thisrun.txt')) {
|
||||
$config = parse_ini_file('/home/pi/BirdNET-Pi/thisrun.txt');
|
||||
} elseif (file_exists('/home/pi/BirdNET-Pi/firstrun.ini')) {
|
||||
$config = parse_ini_file('/home/pi/BirdNET-Pi/firstrun.ini');
|
||||
}
|
||||
$refreshtime = $config['RECORDING_LENGTH'];
|
||||
header("refresh:$refreshtime");
|
||||
$time = time();
|
||||
echo "<img src=\"/spectrogram.png?nocache=$time\">";
|
||||
?>
|
||||
<body>
|
||||
<img src='/spectrogram.png?nocache=<?php echo time();?>'>
|
||||
|
||||
Reference in New Issue
Block a user