]> git.mxchange.org Git - friendica.git/blobdiff - mod/robots_txt.php
Revert use statement
[friendica.git] / mod / robots_txt.php
index b839d6a03c1bda69c2b76018e70e3d88b9635e6e..29f520b18cdce9252d235461b66b168afce506d0 100644 (file)
@@ -6,6 +6,7 @@
  * @version 0.1.2
  */
 
+use Friendica\App;
 
 /**
  * @brief Return default robots.txt when init
  */
 function robots_txt_init(App $a)
 {
-       $allDisalloweds = array(
+       $allDisalloweds = [
                '/settings/',
                '/admin/',
                '/message/',
-       );
+       ];
 
        header('Content-Type: text/plain');
        echo 'User-agent: *' . PHP_EOL;