From f8894ebcd11f5cf48a05ccbbcef6fcb43a4825d0 Mon Sep 17 00:00:00 2001 From: colorlink Date: Fri, 16 Oct 2026 22:12:22 +0000 Subject: [PATCH] chore(catalog): add FluentSMTP (FLUENTMAIL_PLUGIN_VERSION) to the locked-catalog label map Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01Q8t9GEyyLZbUQu26na1JQg --- scripts/patch-fluentsmtp-label.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 scripts/patch-fluentsmtp-label.php diff --git a/scripts/patch-fluentsmtp-label.php b/scripts/patch-fluentsmtp-label.php new file mode 100644 index 0000000..1cb30e4 --- /dev/null +++ b/scripts/patch-fluentsmtp-label.php @@ -0,0 +1,17 @@ + ['Moyasar', 'moyasar'],"; +if (strpos($src, $anchor) === false) { fwrite(STDERR, "anchor not found (run patch-moyasar-label.php first)\n"); exit(2); } +$add = $anchor . "\n 'FLUENTMAIL_PLUGIN_VERSION' => ['FluentSMTP', 'fluent-smtp'],"; +$src = str_replace($anchor, $add, $src); +if (file_put_contents($admin, $src) === false) { fwrite(STDERR, "write failed\n"); exit(3); } +echo "fluentsmtp label added\n";