X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Frobots_txt.php;h=29f520b18cdce9252d235461b66b168afce506d0;hb=56c3b3f653bfe2d789470c9bb8434845d3387745;hp=8327329bf56f2cce9f46a22c52303817db77d602;hpb=86cae070f2a048e553c545caec54be72c1c14da5;p=friendica.git diff --git a/mod/robots_txt.php b/mod/robots_txt.php index 8327329bf5..29f520b18c 100644 --- a/mod/robots_txt.php +++ b/mod/robots_txt.php @@ -15,11 +15,11 @@ use Friendica\App; */ function robots_txt_init(App $a) { - $allDisalloweds = array( + $allDisalloweds = [ '/settings/', '/admin/', '/message/', - ); + ]; header('Content-Type: text/plain'); echo 'User-agent: *' . PHP_EOL;