convert birdnetpi_request.php birdweather_request.php

This commit is contained in:
frederik
2024-03-15 10:37:39 +01:00
parent abdffccc2e
commit 83f72c4991
2 changed files with 5 additions and 10 deletions
+3 -5
View File
@@ -1,9 +1,7 @@
<?php
if (file_exists('thisrun.txt')) {
$config = parse_ini_file('thisrun.txt');
} elseif (file_exists('firstrun.ini')) {
$config = parse_ini_file('firstrun.ini');
}
require_once 'scripts/common.php';
$config = get_config();
$template = file_get_contents("./scripts/email_template2");
foreach($config as $key => $value)
+2 -5
View File
@@ -1,9 +1,6 @@
<?php
if (file_exists('thisrun.txt')) {
$config = parse_ini_file('thisrun.txt');
} elseif (file_exists('firstrun.ini')) {
$config = parse_ini_file('firstrun.ini');
}
require_once 'scripts/common.php';
$config = get_config();
$template = file_get_contents("./scripts/email_template");
foreach($config as $key => $value)