]> git.mxchange.org Git - friendica.git/blobdiff - src/Util/JsonLD.php
Merge remote-tracking branch 'upstream/develop' into server-detection
[friendica.git] / src / Util / JsonLD.php
index c2271565c273bdd48e2dc0d256594822f5b6cdce..732b4b985d4d5bdabde47d1891652bbb893cbdec 100644 (file)
@@ -24,6 +24,7 @@ namespace Friendica\Util;
 use Friendica\Core\Cache\Enum\Duration;
 use Friendica\Core\Logger;
 use Exception;
+use Friendica\Core\System;
 use Friendica\DI;
 
 /**
@@ -69,8 +70,7 @@ class JsonLD
 
                if ($recursion > 5) {
                        Logger::error('jsonld bomb detected at: ' . $url);
-                       DI::page()->logRuntime();
-                       exit();
+                       System::exit();
                }
 
                $result = DI::cache()->get('documentLoader:' . $url);