X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FRobotsTxt.php;h=a084c1f4a6caf97c168b501e7df2f2daa11a8b86;hb=e1863951986ba5be173758324a00652bc5af870c;hp=afc8ebf8f0dfb4ad4fdea41d15f3d79b94ed7c70;hpb=4e9d7df31adac776af294cd67d28214c43ec2ecf;p=friendica.git diff --git a/src/Module/RobotsTxt.php b/src/Module/RobotsTxt.php index afc8ebf8f0..a084c1f4a6 100644 --- a/src/Module/RobotsTxt.php +++ b/src/Module/RobotsTxt.php @@ -1,6 +1,6 @@ logRuntime(); - exit(); + + echo PHP_EOL; + echo 'User-agent: ChatGPT-User' . PHP_EOL; + echo 'Disallow: /' . PHP_EOL; + + echo PHP_EOL; + echo 'User-agent: GPTBot' . PHP_EOL; + echo 'Disallow: /' . PHP_EOL; + + System::exit(); } }