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