openstackweb/smtpmailer/_config.php
2014-10-31 16:21:41 -03:00

3 lines
116 B
PHP

<?php
// Only add SMTP Mailer (SendGrid) if on live site
if(Director::isLive()) Email::set_mailer(new SmtpMailer());