Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #2465 Fix generating template name in createTemplate() method (pu…
…lzarraider) This PR was merged into the 1.x branch. Discussion ---------- Fix generating template name in createTemplate() method Before this change the name for the template was generated randomly based on uniqid(mt_rand()). It generated new file whenever the template was loaded as string using the `template_from_string` function even the template was the same. The generated file wasn't used anymore. Now the cache file is generated by the content of template so using the `template_from_string` is much faster and doesn't pollute the cache folder with unneeded files. Commits ------- a7c8b08 Fix generating template name in createTemplate() method
- Loading branch information