From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 26 Mar 2023 22:11:35 +0000 (-0400) Subject: spelling: disallowed X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=964b7c4bd22db82867b4a41e90d6df2d25865a81;p=friendica.git spelling: disallowed Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- diff --git a/src/Module/RobotsTxt.php b/src/Module/RobotsTxt.php index caa1146421..49aab14713 100644 --- a/src/Module/RobotsTxt.php +++ b/src/Module/RobotsTxt.php @@ -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();