spelling: disallowed
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
2613c3411b
commit
964b7c4bd2
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue