X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Frobots_txt.php;h=29f520b18cdce9252d235461b66b168afce506d0;hb=c8b6778cde3c0b503adc10889f579b289fb7440b;hp=8327329bf56f2cce9f46a22c52303817db77d602;hpb=1c38540f20b3207a0fd09ef0802125e45e83bcf6;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;