mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-10-18 07:03:12 -04:00
12 lines
227 B
PHP
12 lines
227 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Gazelle;
|
|
|
|
$comment = (new Manager\Comment())->findById((int)($_REQUEST['postid'] ?? 0));
|
|
if (is_null($comment)) {
|
|
Error404::error();
|
|
}
|
|
header('Location: ' . $comment->location());
|