From ddb2a8c23acbb220b8e66a2f7dad18a21d7e55f8 Mon Sep 17 00:00:00 2001 From: Zach Prezkuta Date: Thu, 10 Jan 2013 21:24:10 -0700 Subject: add Smarty templates for international templates --- mod/setup.php | 4 ---- 1 file changed, 4 deletions(-) (limited to 'mod/setup.php') diff --git a/mod/setup.php b/mod/setup.php index 4c1b7ec9b..4fa5152ea 100755 --- a/mod/setup.php +++ b/mod/setup.php @@ -78,9 +78,6 @@ function setup_post(&$a) { // connect to db $db = new dba($dbhost, $dbuser, $dbpass, $dbdata, true); - // disable smarty for this template - $engine = $a->get_template_engine(); - $a->set_template_engine(); $tpl = get_intltext_template('htconfig.tpl'); $txt = replace_macros($tpl,array( '$dbhost' => $dbhost, @@ -93,7 +90,6 @@ function setup_post(&$a) { '$phpath' => $phpath, '$adminmail' => $adminmail )); - $a->set_template_engine($engine); $result = file_put_contents('.htconfig.php', $txt); if(! $result) { -- cgit v1.2.3