mirror of
https://github.com/friendica/friendica
synced 2025-04-24 13:10:11 +00:00
App::get_baseurl is now replaced with System::baseUrl
This commit is contained in:
parent
3c24bed412
commit
5adfeb0bd5
134 changed files with 603 additions and 624 deletions
|
@ -90,11 +90,11 @@ function update_fail($update_id, $error_message) {
|
|||
$email_tpl = get_intltext_template("update_fail_eml.tpl");
|
||||
$email_msg = replace_macros($email_tpl, array(
|
||||
'$sitename' => $a->config['sitename'],
|
||||
'$siteurl' => App::get_baseurl(),
|
||||
'$siteurl' => System::baseUrl(),
|
||||
'$update' => DB_UPDATE_VERSION,
|
||||
'$error' => sprintf(t('Update %s failed. See error logs.'), DB_UPDATE_VERSION)
|
||||
));
|
||||
$subject=sprintf(t('Update Error at %s'), App::get_baseurl());
|
||||
$subject=sprintf(t('Update Error at %s'), System::baseUrl());
|
||||
require_once('include/email.php');
|
||||
$subject = email_header_encode($subject,'UTF-8');
|
||||
mail($a->config['admin_email'], $subject, $email_msg,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue