X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Foembed.php;h=715a0ba5bd6454445043bea6875bdad17a5fd112;hb=aeb6e53d02fdbc3208851a9a4dc8323db29c62c5;hp=2124efa5c8e6c67ac4fae9bdd219072527ae99b4;hpb=3c24bed412235cf8c7a3f16b46fed18004abf87b;p=friendica.git diff --git a/include/oembed.php b/include/oembed.php index 2124efa5c8..715a0ba5bd 100755 --- a/include/oembed.php +++ b/include/oembed.php @@ -153,7 +153,7 @@ function oembed_format_object($j){ $th=120; $tw = $th*$tr; $tpl=get_markup_template('oembed_video.tpl'); $ret.=replace_macros($tpl, array( - '$baseurl' => App::get_baseurl(), + '$baseurl' => System::baseUrl(), '$embedurl' => $embedurl, '$escapedhtml' => base64_encode($jhtml), '$tw' => $tw, @@ -250,7 +250,7 @@ function oembed_iframe($src, $width, $height) { } $width = '100%'; - $s = App::get_baseurl() . '/oembed/' . base64url_encode($src); + $s = System::baseUrl() . '/oembed/' . base64url_encode($src); return ''; }