X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FOembed.php;h=7a28115d449013a790482c7853257591209bc002;hb=c1f9c1aaa5ab7c273f2947b5419538aa03c44938;hp=81c858cba3023f959a786e1488caa55fa61cb283;hpb=322b7c856ca9ba53bd9c7da50dd5c1e3c9197d56;p=friendica.git diff --git a/src/Module/Oembed.php b/src/Module/Oembed.php index 81c858cba3..7a28115d44 100644 --- a/src/Module/Oembed.php +++ b/src/Module/Oembed.php @@ -1,6 +1,6 @@ getArgv()[1] == 'b2h') { $url = ["", trim(hex2bin($_REQUEST['url']))]; echo Content\OEmbed::replaceCallback($url); - exit(); + System::exit(); } // Unused form: /oembed/h2b?text=... if (DI::args()->getArgv()[1] == 'h2b') { $text = trim(hex2bin($_REQUEST['text'])); echo Content\OEmbed::HTML2BBCode($text); - exit(); + System::exit(); } // @TODO: Replace with parameter from router @@ -68,6 +69,6 @@ class Oembed extends BaseModule echo $j->html; echo ''; } - exit(); + System::exit(); } }