aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-01-06 22:00:31 -0800
committerfriendica <info@friendica.com>2013-01-06 22:00:31 -0800
commit479541b5f804b3d7f4b955ff00715cbc7232d86c (patch)
treee259afaaf394cb55ffa47b240565e0585df73ecc /view/theme/redbasic/php
parent0cda9601c6805aab7daa9b6380f9150bccd46fc0 (diff)
downloadvolse-hubzilla-479541b5f804b3d7f4b955ff00715cbc7232d86c.tar.gz
volse-hubzilla-479541b5f804b3d7f4b955ff00715cbc7232d86c.tar.bz2
volse-hubzilla-479541b5f804b3d7f4b955ff00715cbc7232d86c.zip
more work on notification popup
Diffstat (limited to 'view/theme/redbasic/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');
}