Skip to content

Commit

Permalink
Fix PHP warning
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed May 22, 2020
1 parent 5a0d15f commit 136b4b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/params.php
Expand Up @@ -19,7 +19,7 @@
'debug.allowedIps' => explode(',', $_ENV['DEBUG_ALLOWED_IPS'] ?? '127.0.0.1'),
'debug.historySize' => 100,

'mailer.enabled' => YII_ENV === 'prod' ? true : null,
'mailer.enabled' => (defined('YII_ENV') && YII_ENV === 'prod') ? true : null,

'cookieValidationKey' => null,

Expand Down

0 comments on commit 136b4b4

Please sign in to comment.