changes that remove the default pi user
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
if (file_exists('/home/*/BirdNET-Pi/thisrun.txt')) {
|
||||
$config = parse_ini_file('/home/*/BirdNET-Pi/thisrun.txt');
|
||||
} elseif (file_exists('/home/*/BirdNET-Pi/firstrun.ini')) {
|
||||
$config = parse_ini_file('/home/*/BirdNET-Pi/firstrun.ini');
|
||||
if (file_exists('thisrun.txt')) {
|
||||
$config = parse_ini_file('thisrun.txt');
|
||||
} elseif (file_exists('firstrun.ini')) {
|
||||
$config = parse_ini_file('firstrun.ini');
|
||||
}
|
||||
$refresh = $config['RECORDING_LENGTH'];
|
||||
$time = time();
|
||||
|
||||
Reference in New Issue
Block a user