mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-01-16 18:04:34 -05:00
12 lines
225 B
PHP
12 lines
225 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());
|