aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/php/theme.php
diff options
context:
space:
mode:
Diffstat (limited to 'view/theme/redbasic/php/theme.php')
-rw-r--r--view/theme/redbasic/php/theme.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/view/theme/redbasic/php/theme.php b/view/theme/redbasic/php/theme.php
index 52e571f0a..3d69a7e22 100644
--- a/view/theme/redbasic/php/theme.php
+++ b/view/theme/redbasic/php/theme.php
@@ -1,6 +1,9 @@
<?php
function redbasic_init(&$a) {
- $a->set_template_engine('smarty3');
+ if($a->config['system']['theme_engine'])
+ $a->set_template_engine($a->config['system']['theme_engine']);
+ else
+ $a->set_template_engine('smarty3');
// head_add_js('redbasic.js');
}