]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/RobotsTxt.php
updated ES translation
[friendica.git] / src / Module / RobotsTxt.php
index 3651382a00b4f5f7c3aeb397840a97e58b389458..49aab147136da57865335a67a13bdec27bf1e591 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -31,7 +31,7 @@ class RobotsTxt extends BaseModule
 {
        protected function rawContent(array $request = [])
        {
-               $allDisalloweds = [
+               $allDisallowed = [
                        '/settings/',
                        '/admin/',
                        '/message/',
@@ -42,7 +42,7 @@ class RobotsTxt extends BaseModule
 
                header('Content-Type: text/plain');
                echo 'User-agent: *' . PHP_EOL;
-               foreach ($allDisalloweds as $disallowed) {
+               foreach ($allDisallowed as $disallowed) {
                        echo 'Disallow: ' . $disallowed . PHP_EOL;
                }
                System::exit();