Skip to content

Commit

Permalink
Minor: pre-define platform_email variable in files:show_mail_conf
Browse files Browse the repository at this point in the history
  • Loading branch information
ywarnier committed May 6, 2019
1 parent 5c3b6e1 commit 20cdc88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Chash/Command/Files/MailConfCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
$path = $this->getHelper('configuration')->getConfigurationPath();
$path .= 'mail.conf.php';
define('IS_WINDOWS_OS', strtolower(substr(php_uname(), 0, 3 )) == 'win'?true:false);
$platform_email = [];
if (isset($path) && is_file($path)) {
$output->writeln('File: '.$path);
$lines = file($path);
Expand Down

0 comments on commit 20cdc88

Please sign in to comment.