]> git.mxchange.org Git - friendica.git/commitdiff
spelling: disallowed
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Sun, 26 Mar 2023 22:11:35 +0000 (18:11 -0400)
committerJosh Soref <2119212+jsoref@users.noreply.github.com>
Mon, 27 Mar 2023 00:03:51 +0000 (20:03 -0400)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
src/Module/RobotsTxt.php

index caa1146421e7f6af255788344400f78d2e2a4570..49aab147136da57865335a67a13bdec27bf1e591 100644 (file)
@@ -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();