Skip to content

Commit 20cdc88

Browse files
committed
Minor: pre-define platform_email variable in files:show_mail_conf
1 parent 5c3b6e1 commit 20cdc88

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Chash/Command/Files/MailConfCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
4040
$path = $this->getHelper('configuration')->getConfigurationPath();
4141
$path .= 'mail.conf.php';
4242
define('IS_WINDOWS_OS', strtolower(substr(php_uname(), 0, 3 )) == 'win'?true:false);
43+
$platform_email = [];
4344
if (isset($path) && is_file($path)) {
4445
$output->writeln('File: '.$path);
4546
$lines = file($path);

0 commit comments

Comments
 (0)