smtp and viewr password moved to generated config.php

This commit is contained in:
2026-06-15 04:55:34 +02:00
parent 269cc5f5d5
commit 4135b621c4
3 changed files with 9 additions and 7 deletions

View File

@ -7,8 +7,8 @@
header('Content-Type: application/json; charset=utf-8');
$config = [];
if (file_exists('config.json')) {
$config = json_decode(file_get_contents('config.json'), true);
if (file_exists('config.php')) {
$config = include 'config.php';
}
function sendResponse(bool $success, string $message) {