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