]> git.mxchange.org Git - friendica.git/blobdiff - mod/robots_txt.php
[frio] Fix help TOC display
[friendica.git] / mod / robots_txt.php
index 8327329bf56f2cce9f46a22c52303817db77d602..0575742dd832e08e518db85bc44945e50e078c9b 100644 (file)
@@ -15,16 +15,16 @@ 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;
        foreach ($allDisalloweds as $disallowed) {
                echo 'Disallow: ' . $disallowed . PHP_EOL;
        }
-       killme();
+       exit();
 }