aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/template.class.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/template.class.php b/include/template.class.php
index 7456e2f3c..382071e7a 100644
--- a/include/template.class.php
+++ b/include/template.class.php
@@ -48,7 +48,7 @@ class Template {
function Template($root = ".", $theme= "")
{
- global $conf;
+ global $conf, $lang_info;
$this->smarty = new Smarty;
$this->smarty->debugging = $conf['debug_template'];
@@ -75,6 +75,8 @@ class Template {
$this->smarty->assign('themeconf', $themeconf);
}
+ $this->smarty->assign('lang_info', $lang_info);
+
$this->set_template_dir($root);
}