mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
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:
parent
5c29c4d6e7
commit
a7ef245de5
1 changed files with 1 additions and 1 deletions
|
@ -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])) {
|
||||||
|
|
Loading…
Reference in a new issue