modified: update-api/app/Models/HostsModel.php

modified:   update-api/app/Models/LogModel.php
This commit is contained in:
nikolai@vontainment.com 2025-07-09 09:26:09 -04:00
parent 68a2e1beb3
commit 9a326f1049
2 changed files with 6 additions and 6 deletions

View file

@ -77,9 +77,9 @@ class HostsModel

// also remove from log files
$log_files = [
'plugin.log',
'theme.log',
];
'plugin.log',
'theme.log',
];
$safe_domain = htmlspecialchars($domain, ENT_QUOTES, 'UTF-8');
foreach ($log_files as $log_file) {
$log_file_path = LOG_DIR . "/$log_file";

View file

@ -34,9 +34,9 @@ class LogModel
foreach ($log_array as $entry) {
list($domain, $date, $status) = explode(' ', $entry, 3);
$log_by_domain[$domain] = [
'date' => $date,
'status' => $status,
];
'date' => $date,
'status' => $status,
];
}

ob_start();