raintpl3
raintpl3 copied to clipboard
Undefined index: remove_comments in Rain/Tpl/Parser.php on line 304
Either this variable should be added to config, or let the compress plugin do that job.
The Compress plugin is not completed, because for compressing HTML there is RainCache, which has a plugin to compress HTML, CSS and Javascript: https://github.com/rainphp/RainCache
So the simplest solution is to insert the $conf['remove_comments'], we can decide later if we want to move this out of the class and into a plugin.
here's the pull request: https://github.com/rainphp/raintpl3/pull/100 can you please review?