smtp and viewr password moved to generated config.php
This commit is contained in:
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user