No need to set $a->theme_info = array() everywhere if you can define it in App

itself.

Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
Roland Haeder
2016-03-01 14:27:38 +01:00
parent 066ddada17
commit f7a0260129
9 changed files with 3 additions and 12 deletions
-1
View File
@@ -1,7 +1,6 @@
<?php
function facepark_init(&$a) {
$a->theme_info = array();
set_template_engine($a, 'smarty3');
$a->page['htmlhead'] .= <<< EOT