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 94ceba9 commit f08efe2Copy full SHA for f08efe2
src/Ubiquity/mailer/MailerManager.php
@@ -88,7 +88,12 @@ public static function saveConfig($config) {
88
}
89
90
public static function loadConfig() {
91
- return self::$config = \array_merge(self::$dConfig, include self::getConfigPath());
+ $path = self::getConfigPath();
92
+ $config = [];
93
+ if (\file_exists($path)) {
94
+ $config = include self::getConfigPath();
95
+ }
96
+ return self::$config = \array_merge(self::$dConfig, $config);
97
98
99
public static function send(AbstractMail $mail): bool {
0 commit comments