Rigel Kentaurus
Well-known member
Rigel Kentaurus submitted a new resource:
How to recompile templates programatically (version 1.0.0) - How to recompile templates programatically
Read more about this resource...
How to recompile templates programatically (version 1.0.0) - How to recompile templates programatically
The following code snippet will "force" to recompile all templates
Code:$t = new XenForo_Model_Template(); $t->compileAllTemplates();
If you just need to run it for whatever reason you could add it in index.php just before fc->run() (or create a separate file, or add it to a code event)
Read more about this resource...