We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c73bef7 commit fc07e40Copy full SHA for fc07e40
src/CoreBundle/Migrations/Schema/V200/Version20250721200725.php
@@ -20,12 +20,6 @@ public function up(Schema $schema): void
20
21
$legacyMailConfig = file_exists($oldMailConfPath);
22
23
- if ($legacyMailConfig) {
24
- include $oldMailConfPath;
25
-
26
- global $platform_email;
27
- }
28
29
$envFile = $projectDir.'/.env';
30
31
$dotenv = new Dotenv();
@@ -68,8 +62,8 @@ public function up(Schema $schema): void
68
62
}
69
63
70
64
if ($legacyMailConfig) {
65
+ include $oldMailConfPath;
71
66
$settings['mailer_exclude_json'] = $platform_email['EXCLUDE_JSON'] ?? false;
72
73
67
$dkim = [
74
'enable' => $platform_email['DKIM'] ?? false,
75
'selector' => $platform_email['DKIM_SELECTOR'] ?? '',
0 commit comments