]> git.mxchange.org Git - friendica.git/blobdiff - mod/install.php
allow Smarty use on international templates
[friendica.git] / mod / install.php
index 91725cf2ff99770c08be4b56289baab36229d3d8..7247ebb2c12c13598398f58b9373cc006456e4c0 100755 (executable)
@@ -73,9 +73,6 @@ function install_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,
@@ -87,7 +84,6 @@ function install_post(&$a) {
                                '$phpath' => $phpath,
                                '$adminmail' => $adminmail
                        ));
-                       $a->set_template_engine($engine);
 
                        $result = file_put_contents('.htconfig.php', $txt);
                        if(! $result) {