]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/RobotsTxt.php
spelling: however
[friendica.git] / src / Module / RobotsTxt.php
index e4b1af7abe80110bdd9c9f0a8f878d40ba44ef49..caa1146421e7f6af255788344400f78d2e2a4570 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -22,6 +22,7 @@
 namespace Friendica\Module;
 
 use Friendica\BaseModule;
+use Friendica\Core\System;
 
 /**
  * Return the default robots.txt
@@ -44,7 +45,6 @@ class RobotsTxt extends BaseModule
                foreach ($allDisalloweds as $disallowed) {
                        echo 'Disallow: ' . $disallowed . PHP_EOL;
                }
-               DI::page()->logRuntime();
-               exit();
+               System::exit();
        }
 }