mirror of
https://github.com/friendica/friendica
synced 2025-01-22 08:19:48 +00:00
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 = [])
|
protected function rawContent(array $request = [])
|
||||||
{
|
{
|
||||||
$allDisalloweds = [
|
$allDisallowed = [
|
||||||
'/settings/',
|
'/settings/',
|
||||||
'/admin/',
|
'/admin/',
|
||||||
'/message/',
|
'/message/',
|
||||||
|
@ -42,7 +42,7 @@ class RobotsTxt extends BaseModule
|
||||||
|
|
||||||
header('Content-Type: text/plain');
|
header('Content-Type: text/plain');
|
||||||
echo 'User-agent: *' . PHP_EOL;
|
echo 'User-agent: *' . PHP_EOL;
|
||||||
foreach ($allDisalloweds as $disallowed) {
|
foreach ($allDisallowed as $disallowed) {
|
||||||
echo 'Disallow: ' . $disallowed . PHP_EOL;
|
echo 'Disallow: ' . $disallowed . PHP_EOL;
|
||||||
}
|
}
|
||||||
System::exit();
|
System::exit();
|
||||||
|
|
Loading…
Add table
Reference in a new issue