- Fixes const value declaration for PHP <5.6

This commit is contained in:
Vlad
2016-10-28 10:13:56 -04:00
parent 6ae46b05e5
commit 01af4d3401
2 changed files with 8 additions and 5 deletions

View File

@@ -1,8 +1,6 @@
<?php
namespace MailPoet\Settings;
use MailPoet\Mailer\Methods\AmazonSES;
class Hosts {
private static $_smtp = array(
'AmazonSES' => array(
@@ -14,7 +12,11 @@ class Hosts {
'access_key',
'secret_key'
),
'regions' => AmazonSES::SES_REGIONS
'regions' => array(
'US East (N. Virginia)' => 'us-east-1',
'US West (Oregon)' => 'us-west-2',
'EU (Ireland)' => 'eu-west-1'
)
),
'SendGrid' => array(
'name' => 'SendGrid',