mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-07 03:29:19 +02:00
smtp: typed probe errors with per-field UI highlighting on save
This commit is contained in:
@@ -13,8 +13,10 @@ require_once APP_ROOT . '/src/SmtpRelay.php';
|
||||
$db = new Database();
|
||||
$siteSettings = $db->getAllSettings();
|
||||
$stats = $db->getThesesStats();
|
||||
$smtpSettings = SmtpRelay::getSettings($db);
|
||||
$smtpConfigured = SmtpRelay::isConfigured($db);
|
||||
$smtpSettings = SmtpRelay::getSettings($db);
|
||||
$smtpConfigured = SmtpRelay::isConfigured($db);
|
||||
$smtpErrorField = $_SESSION['_flash_smtp_field'] ?? null;
|
||||
unset($_SESSION['_flash_smtp_field']);
|
||||
|
||||
// ── System section ────────────────────────────────────────────────────────────
|
||||
require_once APP_ROOT . '/src/SystemCache.php';
|
||||
|
||||
Reference in New Issue
Block a user