3 namespace Friendica\Module;
5 use Friendica\BaseModule;
8 * Return the default robots.txt
10 class RobotsTxt extends BaseModule
12 public static function rawContent($parameters)
23 header('Content-Type: text/plain');
24 echo 'User-agent: *' . PHP_EOL;
25 foreach ($allDisalloweds as $disallowed) {
26 echo 'Disallow: ' . $disallowed . PHP_EOL;