mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixing more tests failing in case sensitive systems
This commit is contained in:
parent
ceb671db42
commit
4ee4e426f4
4 changed files with 3 additions and 3 deletions
|
@ -1276,7 +1276,7 @@ class CakeEmail {
|
|||
$msg[] = 'Content-Transfer-Encoding: 7bit';
|
||||
$msg[] = '';
|
||||
|
||||
$View->viewPath = $View->layoutPath = 'emails' . DS . 'text';
|
||||
$View->viewPath = $View->layoutPath = 'Emails' . DS . 'text';
|
||||
$View->viewVars['content'] = $originalContent;
|
||||
$this->_textMessage = str_replace(array("\r\n", "\r"), "\n", $View->render($this->_template, $this->_layout));
|
||||
$content = explode("\n", $this->_textMessage);
|
||||
|
@ -1288,7 +1288,7 @@ class CakeEmail {
|
|||
$msg[] = 'Content-Transfer-Encoding: 7bit';
|
||||
$msg[] = '';
|
||||
|
||||
$View->viewPath = $View->layoutPath = 'emails' . DS . 'html';
|
||||
$View->viewPath = $View->layoutPath = 'Emails' . DS . 'html';
|
||||
$View->viewVars['content'] = $originalContent;
|
||||
$View->hasRendered = false;
|
||||
$this->_htmlMessage = str_replace(array("\r\n", "\r"), "\n", $View->render($this->_template, $this->_layout));
|
||||
|
@ -1317,7 +1317,7 @@ class CakeEmail {
|
|||
}
|
||||
}
|
||||
|
||||
$View->viewPath = $View->layoutPath = 'emails' . DS . $this->_emailFormat;
|
||||
$View->viewPath = $View->layoutPath = 'Emails' . DS . $this->_emailFormat;
|
||||
$View->viewVars['content'] = $content;
|
||||
$rendered = $View->render($this->_template, $this->_layout);
|
||||
$content = explode("\n", $rendered);
|
||||
|
|
Loading…
Reference in a new issue