changes that remove the default pi user
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<?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');
|
||||
}
|
||||
$template = file_get_contents("scripts/email_template2");
|
||||
$template = file_get_contents("email_template2");
|
||||
|
||||
foreach($config as $key => $value)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user