aboutsummaryrefslogtreecommitdiffstats
path: root/mod/setup.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-01-10 21:09:19 -0800
committerfriendica <info@friendica.com>2013-01-10 21:09:19 -0800
commitd60a07c4f7190c98f38aad059fba1740f4970bdd (patch)
tree932ca3c5a6c5689f2cd2989b94c7d7a779ee7b37 /mod/setup.php
parentf0a08a05aedd8add7990f26c1a0d1894ddd06683 (diff)
parentddb2a8c23acbb220b8e66a2f7dad18a21d7e55f8 (diff)
downloadvolse-hubzilla-d60a07c4f7190c98f38aad059fba1740f4970bdd.tar.gz
volse-hubzilla-d60a07c4f7190c98f38aad059fba1740f4970bdd.tar.bz2
volse-hubzilla-d60a07c4f7190c98f38aad059fba1740f4970bdd.zip
Merge pull request #16 from fermionic/20130110-fix-intl-smarty
add Smarty templates for international templates
Diffstat (limited to 'mod/setup.php')
-rwxr-xr-xmod/setup.php4
1 files changed, 0 insertions, 4 deletions
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) {