spelling: disallowed

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2023-03-26 18:11:35 -04:00
parent 2613c3411b
commit 964b7c4bd2

View 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();