mirror of
https://github.com/Mibew/mibew.git
synced 2025-01-31 13:24:41 +03:00
Let the system work without mailer configs
This commit is contained in:
parent
062a4c1090
commit
bc14d1f0ef
@ -33,6 +33,9 @@ function load_system_configs()
|
||||
if (is_null($configs)) {
|
||||
$parser = new YamlParser();
|
||||
$configs = $parser->parse(file_get_contents(MIBEW_FS_ROOT . '/configs/config.yml'));
|
||||
// Mailer configs are not necessary and can be omited but the section
|
||||
// must exist anyway.
|
||||
$configs += array('mailer' => array());
|
||||
}
|
||||
|
||||
return $configs;
|
||||
|
Loading…
Reference in New Issue
Block a user