diff --git a/download/emailtemplate_bridge.php b/download/emailtemplate_bridge.php index 634c185..6dff67b 100644 --- a/download/emailtemplate_bridge.php +++ b/download/emailtemplate_bridge.php @@ -33,6 +33,7 @@ $bridgeConfig = [ ], ], 'tables_allow' => [], // optional whitelist: ['customers', 'orders'] + 'setup_hint' => '__SETUP_HINT__', ]; // {{BRIDGE_DB_SETUP}} @@ -199,6 +200,7 @@ while ($row = $tablesStmt->fetch(PDO::FETCH_NUM)) { bridgeRespond([ 'ok' => true, 'tables' => $tables, + 'setup_hint' => $bridgeConfig['setup_hint'] ?? null, 'fetched' => date(DATE_ATOM), ]); } catch (Throwable $e) { diff --git a/partials/landingpage/admin/bridge.php b/partials/landingpage/admin/bridge.php index 91e80ba..5760499 100644 --- a/partials/landingpage/admin/bridge.php +++ b/partials/landingpage/admin/bridge.php @@ -111,6 +111,7 @@ $debugRedirect = isset($_GET['debug_redirect']);
Relativ zur Bridge-Datei oder absolut. Die Datei sollte ein Array oder Objekt mit den Zugangsdaten liefern.
+