Template Engine and props to Renderer

move methods and props from App to Renderer
This commit is contained in:
Adam Magness 2018-10-31 13:25:38 -04:00
parent 3f74ba88c2
commit 70f01d6c00
9 changed files with 108 additions and 103 deletions

View file

@ -164,7 +164,7 @@ class Profile
* load/reload current theme info
*/
$a->setActiveTemplateEngine(); // reset the template engine to the default in case the user's theme doesn't specify one
Renderer::setActiveTemplateEngine(); // reset the template engine to the default in case the user's theme doesn't specify one
$theme_info_file = 'view/theme/' . $a->getCurrentTheme() . '/theme.php';
if (file_exists($theme_info_file)) {