mirror of
https://github.com/openvk/openvk
synced 2024-11-13 10:39:24 +03:00
Update AboutPresenter.php
Accidentally blocked the entire wall, oops :D
This commit is contained in:
parent
b32f366b01
commit
126abe3bbb
1 changed files with 2 additions and 3 deletions
|
@ -86,7 +86,7 @@ final class AboutPresenter extends OpenVKPresenter
|
|||
|
||||
function renderRobotsTxt(): void
|
||||
{
|
||||
$data = "# robots.txt file for openvk\n"
|
||||
$text = "# robots.txt file for openvk\n"
|
||||
. "#\n"
|
||||
. "# this includes only those links that are not in any way\n"
|
||||
. "# covered from unauthorized persons (for example, due to\n"
|
||||
|
@ -102,11 +102,10 @@ final class AboutPresenter extends OpenVKPresenter
|
|||
. "Disallow: *?lg=\n"
|
||||
. "Disallow: *hash=\n"
|
||||
. "Disallow: *?jReturnTo=\n"
|
||||
. "Disallow: /wall*\n"
|
||||
. "Disallow: /method/*\n"
|
||||
. "Disallow: /token*";
|
||||
header("Content-Type: text/plain");
|
||||
exit($data);
|
||||
exit($text);
|
||||
}
|
||||
|
||||
function renderHumansTxt(): void
|
||||
|
|
Loading…
Reference in a new issue