]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/RobotsTxt.php
Decouple conversation creation from rendering
[friendica.git] / src / Module / RobotsTxt.php
index caa1146421e7f6af255788344400f78d2e2a4570..49aab147136da57865335a67a13bdec27bf1e591 100644 (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();