diff options
author | friendica <info@friendica.com> | 2013-01-07 20:25:38 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-01-07 20:25:38 -0800 |
commit | 5cb8db64cfdcbf06244f151b7202e6d7ab1ed7d6 (patch) | |
tree | 108086b4a9d9eac318ca26f91e147b9ae520b2d6 /boot.php | |
parent | da188214c304cefaa6fe0a36e1f60932da2f3bfb (diff) | |
download | volse-hubzilla-5cb8db64cfdcbf06244f151b7202e6d7ab1ed7d6.tar.gz volse-hubzilla-5cb8db64cfdcbf06244f151b7202e6d7ab1ed7d6.tar.bz2 volse-hubzilla-5cb8db64cfdcbf06244f151b7202e6d7ab1ed7d6.zip |
bypass smarty for intletext templates
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1014,6 +1014,10 @@ function check_config(&$a) { $retval = $func(); if($retval) { //send the administrator an e-mail + + $engine = get_app()->get_template_engine(); + get_app()->set_template_engine(); + $email_tpl = get_intltext_template("update_fail_eml.tpl"); $email_msg = replace_macros($email_tpl, array( '$sitename' => $a->config['sitename'], @@ -1021,6 +1025,9 @@ function check_config(&$a) { '$update' => $x, '$error' => sprintf( t('Update %s failed. See error logs.'), $x) )); + + get_app()->set_template_engine($engine); + $subject=sprintf(t('Update Error at %s'), $a->get_baseurl()); mail($a->config['admin_email'], $subject, $email_msg, |