Added 'helpers' to _applyConfig.

Allows default Helpers to be modified by EmailConfig setup.

Conflicts:

	lib/Cake/Network/Email/CakeEmail.php
This commit is contained in:
Matt Hamann 2012-02-21 22:17:18 -05:00 committed by mark_story
parent 5c29c4d6e7
commit a7ef245de5

View file

@ -1134,7 +1134,7 @@ class CakeEmail {
$simpleMethods = array( $simpleMethods = array(
'from', 'sender', 'to', 'replyTo', 'readReceipt', 'returnPath', 'cc', 'bcc', 'from', 'sender', 'to', 'replyTo', 'readReceipt', 'returnPath', 'cc', 'bcc',
'messageId', 'domain', 'subject', 'viewRender', 'viewVars', 'attachments', 'messageId', 'domain', 'subject', 'viewRender', 'viewVars', 'attachments',
'transport', 'emailFormat', 'theme', 'transport', 'emailFormat', 'theme', 'helpers'
); );
foreach ($simpleMethods as $method) { foreach ($simpleMethods as $method) {
if (isset($config[$method])) { if (isset($config[$method])) {