Bug #37768
Template-File not found with wrong file-encoding
| Status: | Resolved | Start date: | 2012-06-05 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | - | % Done: | 100% |
|
| Category: | - | |||
| Target version: | - | |||
| Votes: | 0 |
Description
My template file (Attachment) has an crasy encoding and the htmlcode is completly in one line!
The follow code for checking if it an template or an filepath in "Tx_Formhandler_UtilityFuncs::readTemplateFile()" dosn't work with my template file.
if (strpos($templateFile, "\n") === FALSE) {
...
}
should be the if-condition look like this??
if (stristr($templateFile, '###TEMPLATE_') === FALSE) {
...
}
Associated revisions
Fixed check if template was already parsed (fixes #37768)
Fixed check if template was already parsed (fixes #37768)
History
Updated by Reinhard Führicht 12 months ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset r63259.
Updated by Mario Näther 12 months ago
hi,
should you change the if-condition at line Tx_Formhandler_UtilityFuncs:148, too?
or move the check in a own PHP method ;)
mfg mario