Skip to content

Commit

Permalink
[Platform.sh]Setting mailer_host
Browse files Browse the repository at this point in the history
  • Loading branch information
vidarl committed Jul 4, 2019
1 parent cdeb5c8 commit 43de000
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/config/env/platformsh.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@
$container->setParameter('cluster_database_name', 'cluster');
}

// If mailer_host as default value, then set it to platform.sh' default instead
if ($container->getParameter('mailer_host') === '127.0.0.1') {
$container->setParameter('mailer_host', getenv('PLATFORM_SMTP_HOST'));
}

// PLATFORMSH_DFS_NFS_PATH is different compared to DFS_NFS_PATH in the sense that it is relative to ezplatform dir
// DFS_NFS_PATH is an absolute path
if ($dfsNfsPath = getenv('PLATFORMSH_DFS_NFS_PATH')) {
Expand Down

0 comments on commit 43de000

Please sign in to comment.