spectrogram, species stats, and log now have navigation bar
changed all POSTs to GET
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
<?php
|
||||
if (file_exists('thisrun.txt')) {
|
||||
$config = parse_ini_file('thisrun.txt');
|
||||
} elseif (file_exists('firstrun.ini')) {
|
||||
$config = parse_ini_file('firstrun.ini');
|
||||
if (file_exists('./scripts/thisrun.txt')) {
|
||||
$config = parse_ini_file('./scripts/thisrun.txt');
|
||||
} elseif (file_exists('./scripts/firstrun.ini')) {
|
||||
$config = parse_ini_file('./scripts/firstrun.ini');
|
||||
}
|
||||
$refresh = $config['RECORDING_LENGTH'];
|
||||
header("Refresh: $refresh");
|
||||
$time = time();
|
||||
echo "<img style=\"width:100%;height:100%\" src=\"/spectrogram.png?nocache=$time\">";
|
||||
header("Refresh: $refresh;");
|
||||
echo "<img style=\"width:100%;height:89%\" src=\"/spectrogram.png?nocache=$time\">";
|
||||
$_GET['view'] = "Spectrogram";
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user