We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following line in the beforeRenderFile function
preg_match('/Email\/(text|html)\//', $viewFile, $match);
do not work on WIN.
Use the following code or something else instead:
if (strpos($viewFile,'Email' . DS . 'text') !== -1){ $this->_emailType = 'text'; } else if (strpos($viewFile,'Email' . DS . 'html') !== -1){ $this->_emailType = 'html'; }
Sorry for my bad english...
The text was updated successfully, but these errors were encountered:
@zschwinges have you tried:
preg_match('/Email\' . DS . '(text|html)\' . DS . '/', $viewFile, $match);
Sorry, something went wrong.
No branches or pull requests
The following line in the beforeRenderFile function
preg_match('/Email\/(text|html)\//', $viewFile, $match);
do not work on WIN.
Use the following code or something else instead:
Sorry for my bad english...
The text was updated successfully, but these errors were encountered: