X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FRobotsTxt.php;h=3651382a00b4f5f7c3aeb397840a97e58b389458;hb=40777d08c198ed5f435a7b029e25ea139de62c16;hp=afc8ebf8f0dfb4ad4fdea41d15f3d79b94ed7c70;hpb=4e9d7df31adac776af294cd67d28214c43ec2ecf;p=friendica.git diff --git a/src/Module/RobotsTxt.php b/src/Module/RobotsTxt.php index afc8ebf8f0..3651382a00 100644 --- a/src/Module/RobotsTxt.php +++ b/src/Module/RobotsTxt.php @@ -22,7 +22,7 @@ namespace Friendica\Module; use Friendica\BaseModule; -use Friendica\DI; +use Friendica\Core\System; /** * Return the default robots.txt @@ -45,7 +45,6 @@ class RobotsTxt extends BaseModule foreach ($allDisalloweds as $disallowed) { echo 'Disallow: ' . $disallowed . PHP_EOL; } - DI::page()->logRuntime(); - exit(); + System::exit(); } }