From 964b7c4bd22db82867b4a41e90d6df2d25865a81 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 26 Mar 2023 18:11:35 -0400 Subject: [PATCH] spelling: disallowed Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/Module/RobotsTxt.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.39.5