diff --git a/Web/Presenters/AboutPresenter.php b/Web/Presenters/AboutPresenter.php index 1ff9c8ab..2830d2cd 100644 --- a/Web/Presenters/AboutPresenter.php +++ b/Web/Presenters/AboutPresenter.php @@ -16,6 +16,12 @@ final class AboutPresenter extends OpenVKPresenter exit; } + if($_SERVER['REQUEST_URI'] == "/id0") { + header("HTTP/1.1 302 Found"); + header("Location: /"); + exit; + } + $this->template->stats = (new Users)->getStatistics(); } diff --git a/Web/routes.yml b/Web/routes.yml index ca74dd44..3409ba1c 100644 --- a/Web/routes.yml +++ b/Web/routes.yml @@ -3,6 +3,8 @@ static: "static" routes: - url: "/" handler: "About->index" + - url: "/id0" + handler: "About->index" - url: "/terms" handler: "About->rules" - url: "/rpc"