mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-10-11 04:13:02 -04:00
9 lines
220 B
PHP
9 lines
220 B
PHP
<?php
|
|
|
|
try {
|
|
$comment = (new Gazelle\Manager\Comment)->findById((int)($_REQUEST['postid'] ?? 0));
|
|
} catch (\Gazelle\Exception\ResourceNotFoundException $e) {
|
|
error(404);
|
|
}
|
|
header('Location: ' . $comment->url());
|